Compare commits
2 Commits
715f290858
...
a4a87e75b8
Author | SHA1 | Date |
---|---|---|
Eddoursul | a4a87e75b8 | 2 weeks ago |
Eddoursul | c9d3f98294 | 2 weeks ago |
5 changed files with 26 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,19 @@ |
||||
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 |
Loading…
Reference in new issue