enderalse/source/scripts/_00e_mq11a_sc24_anomalylastfightsc.psc

21 lines
700 B
Plaintext

Scriptname _00E_MQ11a_SC24_AnomalyLastFightSC extends Actor
Event OnDying(Actor akKiller)
if (Self.GetActorBase() == _00E_MQ11a_DalGalarMagicAnomaly02)
Self.PlaceAtMe(TurnUndeadMassExplosion, 1)
_00E_MQ11a_MagicAnomalyScreamAM.Play(Self)
Game.ShakeCamera(afStrength = 1.0)
Self.AttachAshPile(DefaultAshPile2)
Actor playerRef = Game.GetPlayer()
_00E_Ability_StaggerSelfSpell.Cast(playerRef, playerRef)
Self.Disable()
EndIf
EndEvent
ActorBase Property _00E_MQ11a_DalGalarMagicAnomaly02 Auto
Explosion Property TurnUndeadMassExplosion Auto
Spell Property _00E_Ability_StaggerSelfSpell Auto
Sound Property _00E_MQ11a_MagicAnomalyScreamAM Auto
Activator Property DefaultAshPile2 Auto