2021-10-06 00:15:58 +02:00
|
|
|
Scriptname _00E_FS_EssenceGiftBonusSC extends activemagiceffect
|
|
|
|
|
2021-10-06 00:59:59 +02:00
|
|
|
_FS_Phasmalist_ControlQuest Property PhasmalistControlQuest Auto
|
2021-10-06 00:15:58 +02:00
|
|
|
|
2021-10-06 00:59:59 +02:00
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
|
|
If PhasmalistControlQuest.IsApparitionSpawned()
|
|
|
|
Actor akApparition = PhasmalistControlQuest.GetApparitionFailsafeRef()
|
|
|
|
If akApparition && akApparition.Is3DLoaded()
|
2023-12-08 03:45:53 +01:00
|
|
|
akApparition.RestoreActorValue("Magicka", akCaster.GetActorValue("Alteration") / 3.0)
|
2021-10-06 00:59:59 +02:00
|
|
|
EndIf
|
2021-10-06 00:15:58 +02:00
|
|
|
EndIf
|
|
|
|
EndEvent
|