Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
19 lines
843 B
19 lines
843 B
Scriptname _00E_FS_Affinity_TransformApparation extends activemagiceffect
|
|
|
|
_FS_Phasmalist_ControlQuest Property ControlQuest Auto
|
|
Message Property _00E_Phasmalist_NoApparitionCurrentlySummoned Auto
|
|
Spell Property _00E_FS_Affinity_Soulcaller_ApparationWolfFormSP Auto
|
|
MagicEffect Property _00E_FS_Affinity_Soulcaller_ApparationWolfFormME Auto
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
If ControlQuest.apparationAlias.getReference() != None
|
|
Actor apparation = ControlQuest.apparationAlias.GetActorReference()
|
|
if (apparation.HasMagicEffect(_00E_FS_Affinity_Soulcaller_ApparationWolfFormME))
|
|
apparation.dispelSpell(_00E_FS_Affinity_Soulcaller_ApparationWolfFormSP)
|
|
Else
|
|
_00E_FS_Affinity_Soulcaller_ApparationWolfFormSP.cast(apparation)
|
|
Endif
|
|
Else
|
|
_00E_Phasmalist_NoApparitionCurrentlySummoned.Show()
|
|
EndIf
|
|
Endevent
|
|
|