enderalse/scripts/source/_00e_mag_eldritchdamageconcme.psc

28 lines
952 B
Plaintext
Raw Normal View History

Scriptname _00E_MAG_EldritchDamageConcME extends activemagiceffect
Import Math
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnEffectStart(Actor akTarget, Actor akCaster)
if akCaster == PlayerREF
akCaster.DamageAV("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