enderalse/source/scripts/_00e_mag_eldritchdamageconcme.psc

28 lines
960 B
Plaintext
Raw Normal View History

Scriptname _00E_MAG_EldritchDamageConcME extends activemagiceffect
Import Math
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnEffectStart(Actor akTarget, Actor akCaster)
if akCaster == PlayerREF
2023-12-08 02:45:53 +00:00
akCaster.DamageActorValue("Health", (Self.GetMagnitude()/(EldritchDamageDivider.GetValue())))
ParalyzeFxShader.Play(PlayerREF)
Utility.Wait(0.5)
ParalyzeFxShader.Stop(PlayerREF)
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
Actor Property PlayerREF Auto
GlobalVariable Property EldritchDamageDivider Auto
EffectShader Property ParalyzeFxShader Auto