I've just got into modding for Oblivion, and I'm working on an idea I've had floating around for a while. I've got most of it working correctly; unfortunately, the main part of it isn't.
I dug around around the construction set wiki to no avail. Here's my issue: I want to make what is pretty much the 'Fortify Health' spell, slightly modified so it can stack without making multiple copies of the effect. I've tried player.ModActorValue to try to raise the maximum health without touching the current health, but it does the opposite of what I want; it raises the current health instead and sets it above the maximum health. I also had an idea of how to get the current health and maximum health in separate variables, but the calculations for maximum health looked too crazy to work with what I had in mind.
In short, is there some function to modify the player's maximum health without changing their current health? I am also using OBSE 19, if there are any useful functions in there. Any help is appreciated.
Thanks,
Lazlow