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.
24 lines
492 B
24 lines
492 B
Scriptname _00E_AbWispBusyTrackerScript extends activemagiceffect
|
|
|
|
Faction Property WispBusyFaction Auto
|
|
Actor Property PlayerRef Auto
|
|
|
|
Actor TargetRef
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
TargetRef = akCaster
|
|
If TargetRef == PlayerRef
|
|
TargetRef = None
|
|
EndIf
|
|
|
|
If TargetRef
|
|
TargetRef.SetFactionRank(WispBusyFaction, 0)
|
|
EndIf
|
|
EndEvent
|
|
|
|
Event OnEffectFinish(Actor akTarget, Actor akCaster)
|
|
If TargetRef
|
|
TargetRef.RemoveFromFaction(WispBusyFaction)
|
|
EndIf
|
|
EndEvent
|
|
|
|
|