1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
537 B

ScriptName QuickReflexesFix extends activemagiceffect
Spell Property PerkQuickReflexes Auto
float Property fUpdateTime Auto
Event OnEffectStart(Actor akCaster, Actor akTarget)
If akCaster == Game.GetForm(0x14)
if SKSE.GetVersion()
fUpdateTime = GetDuration()
endif
RegisterForSingleUpdate(fUpdateTime + 0.05)
EndIf
EndEvent
; Since this is a Fire and Forget spell, this update normally gets unregistered before OnUpdate() ever fires
Event OnUpdate()
(Game.GetForm(0x14) as Actor).DispelSpell(PerkQuickReflexes)
EndEvent