4
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.
 
 
 

20 lines
551 B

Scriptname _00E_FS_Ritualist_SummonTrackingSC extends activemagiceffect
GlobalVariable Property _00E_FS_PlayerHasSummonedCreature Auto
Bool bCastByPlayer = True ; True for version compatibility
Event OnEffectStart(Actor akTarget, Actor akCaster)
If akCaster == Game.GetPlayer()
bCastByPlayer = True
_00E_FS_PlayerHasSummonedCreature.Mod(1)
Else
bCastByPlayer = False
EndIf
Endevent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
If bCastByPlayer
bCastByPlayer = False
_00E_FS_PlayerHasSummonedCreature.Mod(-1)
EndIf
Endevent