enderalse/source/scripts/_00e_nq_g_07_mendelushitsc.psc

30 lines
689 B
Plaintext

Scriptname _00E_NQ_G_07_MendelusHitSC extends ReferenceAlias
Event OnInit()
akSelf = Self.GetActorReference()
EndEvent
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
If akSelf.IsGhost()
_00E_NQG07_s_PetrifiedCombatAttackHasNoEffect.Show()
MAGFail.Play(akSelf)
AzuraEvil.Play(akSelf)
EndIf
EndEvent
Event OnDying(Actor akKiller)
If akSelf.IsActivationBlocked()
akSelf.BlockActivation(False)
EndIf
EndEvent
Actor akSelf
Sound Property MAGFail Auto
Message Property _00E_NQG07_s_PetrifiedCombatAttackHasNoEffect Auto
EffectShader Property AzuraEvil Auto