1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
886 B

Scriptname _00E_FS_EssenceGiftSC extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
Actor akApparition = apparitionAlias.GetActorReference()
if akApparition == None
_00E_FS_EssenceGift_NoApparition.Show()
akCaster.RestoreActorValue("Magicka", Self.GetMagnitude())
Else
if akApparition.GetActorBase().GetSex() == 1
_00E_FS_Phasmalist_EnterWorld_Female.Play(akApparition)
Else
_00E_FS_Phasmalist_EnterWorld_Male.Play(akApparition)
EndIf
AbsorbGreenFXS.Play(akApparition)
akApparition.RestoreAV("Magicka", Self.GetMagnitude())
EndIf
EndEvent
_00E_Phasmalist_ApparationAlias Property apparitionAlias Auto
Message Property _00E_FS_EssenceGift_NoApparition Auto
Sound Property _00E_FS_Phasmalist_EnterWorld_Male Auto
Sound Property _00E_FS_Phasmalist_EnterWorld_Female Auto
EffectShader Property AbsorbGreenFXS Auto