Fixed a Papyrus warning in _00E_BoneSpiritControlScript
This commit is contained in:
parent
43931b07af
commit
9146903b39
Binary file not shown.
@ -5,12 +5,17 @@ Event OnInit()
|
|||||||
EndEvent
|
EndEvent
|
||||||
|
|
||||||
Event OnUpdate()
|
Event OnUpdate()
|
||||||
If bSetupDone == False
|
If ! bSetupDone
|
||||||
Setup()
|
Setup()
|
||||||
EndIf
|
EndIf
|
||||||
EndEvent
|
EndEvent
|
||||||
|
|
||||||
Function Setup()
|
Function Setup()
|
||||||
|
; Can be called on demand from GetOriginalSpellDamage()
|
||||||
|
if ! SKSE.GetVersion()
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
boneSpiritSpells = New Spell[12]
|
boneSpiritSpells = New Spell[12]
|
||||||
boneSpiritMagnitudes = New Float[12]
|
boneSpiritMagnitudes = New Float[12]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user