Divinity: Original Sin 2

Divinity: Original Sin 2

DOS2 - Divine War
Wonka Wonka Nov 12, 2019 @ 3:12pm
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?
< >
Showing 1-4 of 4 comments
Wonka Wonka Nov 12, 2019 @ 4:58pm 
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  [developer] Nov 13, 2019 @ 1:11pm 
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 Nov 23, 2019 @ 6:03am 
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 Nov 23, 2019 @ 6:27am 
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 ^^
Last edited by Wonka Wonka; Nov 23, 2019 @ 6:34am
< >
Showing 1-4 of 4 comments
Per page: 1530 50