Scriptname KA_PowerTimerScript extends activemagiceffect  
{Shared by all three powers}

GlobalVariable Property KA_PowerTimer  Auto  
GlobalVariable Property GameDaysPassed  Auto  

Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect)
	if akCaster == game.GetPlayer()
			KA_PowerTimer.SetValue(GameDaysPassed.GetValue() + 1.0)
	endIf
EndEvent