I'm trying to make a Fortify spell with script. Just for educational purpose.
I know that they only ways, I can adjust skills etc is with:
ModActorValue (Problem: The score is not going over the highest lvl of its base. Example: If an Actor has 115 Magicka and I put ModActorValue 200, his magicak will not go higher that 115)
SetActorValue (Problem: This actually changes the value BUT it causes trouble. If an actor has 115 Magicka and I put SetActorValue 900, he will get 900. But if i want it to get back to normal, and type SetActorValue -900 will get 0, not 115 that he normally had)
ForceActorValue (This is not working. Same problem like ModActorValue)
Any ideas how i can create a fortify simple spell?
I want to add into the value and after a while it will go back to normal.