I'm trying to create a simple script that doubles the amount of magicka the player has. The script does so upon equipping a ring.
So far I have this:
___________________________________
ScriptName aaaRingOfMagicka
Short CurrentMagicka
Begin OnAdd player
Set CurrentMagicka to player.getAV Magicka
Set player.AV Magicka to CurrentMagicka*2
End
____________________________________
The line in orange is the one that is giving me trouble. Once I have the player's magicka stored in a variable I'd like to somehow double it but I don't know the proper syntaxis to do so. Any help?