Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
689 B
30 lines
689 B
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 |