enderalse/scripts/source/_00e_fs_psionicpushsc.psc

23 lines
911 B
Plaintext
Raw Normal View History

Scriptname _00E_FS_PsionicPushSC extends ActiveMagicEffect
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnEffectStart(actor Target, actor Caster)
If Target.HasMagicEffect(_00E_FS_PsychosisWeaknessVisualME)
_00E_FS_PsionicPushPushSP.Cast(Caster, Target)
Else
_00E_FS_PsionicPushStaggerSP.Cast(Caster, Target)
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
MagicEffect Property _00E_FS_PsychosisWeaknessVisualME Auto
Spell Property _00E_FS_PsionicPushStaggerSP Auto
Spell Property _00E_FS_PsionicPushPushSP Auto