enderalse/scripts/source/_00e_fs_psionicpushpushsc.psc

24 lines
927 B
Plaintext
Raw Normal View History

Scriptname _00E_FS_PsionicPushPushSC extends ActiveMagicEffect
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnEffectStart(actor Target, actor Caster)
Caster.PushActorAway(Target, (Caster.GetActorValue("Illusion")/15))
Target.SetFactionRank(_00E_FS_PsionicPushFaction, 0)
EndEvent
Event OnEffectFinish(actor Target, actor Caster)
If Target.IsInFaction(_00E_FS_PsionicPushFaction)
Target.RemoveFromFaction(_00E_FS_PsionicPushFaction)
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
Faction Property _00E_FS_PsionicPushFaction Auto