13 lines
467 B
Plaintext
13 lines
467 B
Plaintext
Scriptname _00E_FS_EssenceGiftBonusSC extends activemagiceffect
|
|
|
|
_FS_Phasmalist_ControlQuest Property PhasmalistControlQuest Auto
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
If PhasmalistControlQuest.IsApparitionSpawned()
|
|
Actor akApparition = PhasmalistControlQuest.GetApparitionFailsafeRef()
|
|
If akApparition && akApparition.Is3DLoaded()
|
|
akApparition.RestoreActorValue("Magicka", akCaster.GetActorValue("Alteration") / 3.0)
|
|
EndIf
|
|
EndIf
|
|
EndEvent
|