enderalse/scripts/source/_00e_fs_essencegiftbonussc.psc

13 lines
451 B
Plaintext
Raw Normal View History

Scriptname _00E_FS_EssenceGiftBonusSC extends activemagiceffect
2021-10-05 22:59:59 +00:00
_FS_Phasmalist_ControlQuest Property PhasmalistControlQuest Auto
2021-10-05 22:59:59 +00:00
Event OnEffectStart(Actor akTarget, Actor akCaster)
If PhasmalistControlQuest.IsApparitionSpawned()
Actor akApparition = PhasmalistControlQuest.GetApparitionFailsafeRef()
If akApparition && akApparition.Is3DLoaded()
akApparition.RestoreAV("Magicka", akCaster.GetAV("Alteration") / 3.0)
EndIf
EndIf
EndEvent