This works great, but I'm really afraid of any possible nasty consequences such as the player's magicka not being restored for some reason when the effect is gone, being it by removing the mod or simply a bug during the OnEffectFinish event. I really don't know what can happen, for example, if the effect is on and the player decides to save the game, quit Skyrim, disable the mod, and then come back.
My question is:
Is there any difference if I remove this script from the effect and instead add another magic effect to the spell that decreases (set to Detrimental + Recover) magicka using the Value Modifier archetype? In other words: Is in any way the Value Modifier archetype more realiable than using ModAV from a script? Also, should I create another effect or should I try using some existing effect that decreases magicka (abDamageMagicka.. or something like that)?
(goal here is to make sure players will never get stuck with permanent stat modifiers)
