Divinity: Original Sin 2

Divinity: Original Sin 2

DOS2 - Divine War
Wonka Wonka 2019 年 11 月 12 日 下午 3:12
Minimod
Evening Kalavinka! I'm looking to make a compatibility patch of my own for Divine War plus possibly a few balance changes and I was wondering where the count charges for cooldown reset is handled. I haven't looked at them yet but judging from what I've looked at so far I would say it's probably handled via script.

If so could I just ini edit this and place a copy of it in my mod?
< >
正在显示第 1 - 4 条,共 4 条留言
Wonka Wonka 2019 年 11 月 12 日 下午 4:58 
Ahh! Found where it's located, willpower too. Seems it is safe to let load order override do it's work here. This brings me to another question though. Should I be replacing all values of "5" as far as stat_willpower is concerned? Being a dummy at code it appears as though there's multiple handlers for the same thing so I just want to be safe.

Admittedly this is a bad way to handle it so I'm wondering if just deleting AS_WP6&7 in this one file will do the trick, or am I going to have to scour all files for references? Effectively capping willpower to 5 at 30 resolve.

I'm curious about Armor/MA as well. At some point down the line I would like to reintroduce this (albeit at very low values of course). It'll require a lot of changes but to be frank I sort of miss the added 'variety' this mechanic can bring. Also it seems you can use a scalar per level via difficulty for Armor/MA whereas you can't for vitality. Would it be safe to reintroduce this (via the data.txt file I believe) or would it conflict with the willpower system?
Kalavinka  [开发者] 2019 年 11 月 13 日 下午 1:11 
Deleting the files would sadly not work, the code for the max Willpower is sadly integrated in it.

Feel free to add me on Discord (check my Steam profile) and we can figure out a solution, I'm quite happy to patch Divine War to meet your needs.
Wonka Wonka 2019 年 11 月 23 日 上午 6:03 
An update on this

Yeah I can see what you mean. The code gets embedded into... 5 other files I think? All packaged by the editor lmao. The osirislogs? oh god, what a nightmare.

It took a few attempts but I think I may have found the solution for WP. In script I get the willpower integer and if value = X subtract Y. Then reset integer and status.

I'm using IF StoryEvent~CheckAttributes which I was a little worried would cause problems but so far it seems to be working. When I was using a different method I saw once or twice where the status change didn't take effect. Looks like I can reiterate with a timer if needed.
Wonka Wonka 2019 年 11 月 23 日 上午 6:27 
Actually the way I've got it set up you should get willpower at 15, 20, 30, 40. I simply changed willpower 5 and 7 to look like 4 and 5. Sadly this brings an issue with fly over text (shows 6 for WP4) and abilities like demonic stare. Should be an easy enough fix I think but would have to be handled for each individually. For the stare, not sure about the flyover lol.

And so having spent the better part of the last few hours casting rain and electric discharge on myself, I can see why you might be tempted to do away with willpower. Shock, or electrified surfaces in particular, are.. not very friendly to this mechanic. I thought I was doing something wrong when I kept seeing shocked status on a character I just set stun on.

You don't notice these things much before, but then you have rain, reapplying wet before the duration ends.. And here I was all flustered about battering ram being both mobility and CC ^^
最后由 Wonka Wonka 编辑于; 2019 年 11 月 23 日 上午 6:34
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50