mikeprichard wrote: ↑Mon Jan 20, 2020 8:07 pm
Ralzar wrote: ↑Mon Jan 20, 2020 7:26 am
mikeprichard wrote: ↑Mon Jan 20, 2020 1:38 am
I just checked in on the forums after several weeks away, and WOW! I'm so glad and grateful you were able to get to this as you said you would. This looks fantastic, and will never be leaving my DFU - goodbye, hated level-up RNG!
My only suggestion, which I think I'd mentioned when you first said you'd do this earlier, is to include the retroactive HP gains for END feature already implemented in an alpha mod by another user a year ago: viewtopic.php?f=22&t=277&start=70#p21919
. If you're willing and able to do that, this would be the perfect comprehensive level-up mechanic mod in my book; it will do everything I was originally hoping for (viewtopic.php?f=4&t=1893&p=22903#p22903
) and more. Either way, thank you for this contribution!
I had actually clean forgot about that mod or that mechanic. I will take a look at that later this week hopefully. I think I can see how to do that relatively easily.
Nice! Looking forward to even more good stuff here.
Argh, this actually turned out to be stupid difficult unless I'm missing something.
The problem is that each time you level up the game rolls a random amount of HP to add, then adds Endurance bonus.
But it doesn't save the roll. So you can't later ask "how many HP would I have now if my Endurance had allways been what it is now?"
Because the only values I have to work with is your current max HP and your current Endurance bonus. I have no history of your rolls, so I have no way of doing retroactive math to figure out how you ended up at the HP pool you now have.
Even if I managed to mod some way to store earlier HP rolls, that would break if you ever leveled up without the mod.
I can only make it work if you allways get the same amount of HP when you level up. Then it's simply a matter of setting the characters max HP to what it should be, because all the numbers involved are static.
Edit: I might just do that. A checkbox that activates retroactive Endurance bonus, but locks you to allways rolling max HP based on your HP roll settings. Minimum HP setting is then ignored.
Edit2: And looking at UserOfThisSite code, his mod originally intended to allway produce max HP rolls, so he never ran into the problem.