enderalse/source/scripts/_00e_fs_affinity_apparationwolfformsc.psc

18 lines
571 B
Plaintext

Scriptname _00E_FS_Affinity_ApparationWolfFormSC extends activemagiceffect
_FS_Phasmalist_ControlQuest Property ControlQuest auto
GlobalVariable Property _00E_Phasmalist_IsApparitionSummoned Auto
Actor Target
Event OnEffectStart(Actor akTarget, Actor akCaster)
Target = akTarget
ControlQuest.TransformApparitionToWerewolf(Target)
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
If _00E_Phasmalist_IsApparitionSummoned.GetValue() > 0.0 ; The apparition is not being unsummoned?
ControlQuest.TransformApparitionFromWerewolf(Target)
EndIf
EndEvent