Hey everyone, I want to make a mod that changes how stamina regen works, I basically want to do something very similar to realistic fatigue in Oblivion, where your stamina regen is scaled by the percent of current stamina you have (a 0 stamina 100% regen at 100% stamina 0% regen). I tried to use a perk and a magic effect & spell to do this, but the perk only affected the initial application of the effect, and didn't scale regen based on on changes in stamina, just on the stamina when the ability was added.
Also I needed to make a magic effect to restore stamina, I need to be able to regenerate stamina through damage for the mod to work (otherwise calculations get pretty complicated). I can't find a way to do that easily however, so I decided to try to make a condition based spell that mimics the % based regen.
Right now I see 4 ways to do this
1. Use a script to do all of the regen effects
2. Use a magic effect with .1 or .2 duration along with a perk that recasts the spell every time the effect finishes
I'm hesitant to do this since my mod will eventually require this effect on every single actor... I'm kinda worried about script lag
3. I use perks, spells, and effects with lots and lots of condition statements
This would be really annoying to do, but I guess I could do it. Only issue is that the getpercentAV condition functions don't seem to work.
4. I try to find a weird way to do the mod with the existing stamina regen and lots of conditions. I don't think this but I'll do it if I have to I guess :/
Thanks for your time, I appreciate anything you have to say.