enderalse/source/scripts/_00e_epsystem_verywellrestedbonus.psc

16 lines
518 B
Plaintext

Scriptname _00E_EPSystem_VeryWellRestedBonus extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
_00E_EPSystem_VeryWellRested.SetValueInt(1)
Debug.MessageBox("Rested set" + _00E_EPSystem_VeryWellRested.GetValueInt() as Int)
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
_00E_EPSystem_VeryWellRested.SetValueInt(0)
Debug.MessageBox("Rested set" + _00E_EPSystem_VeryWellRested.GetValueInt() as Int)
EndEvent
GlobalVariable Property _00E_EPSystem_VeryWellRested Auto