94 {296.95f, -312.76f, 86.36f},
95 {297.69f, -275.81f, 86.36f}
147 me->RemoveAllAuras();
195 if (
Phase ==
IDLE &&
me->IsValidAttackTarget(who) &&
me->IsWithinDistInMap(who, 40))
240 me->GetMotionMaster()->MoveChase(target);
272 pos.m_positionZ += 8.0f;
273 me->GetMotionMaster()->MoveTakeoff(0,
pos);
277 std::list<Creature*> lspectatorList;
279 for (std::list<Creature*>::iterator itr = lspectatorList.begin(); itr != lspectatorList.end(); ++itr)
281 if ((*itr)->IsAlive())
284 (*itr)->SetWalk(
false);
299 arthas->InterruptNonMeleeSpells(
true);
300 me->RemoveAllAuras();
319 me->SetFacingTo(1.58f);
320 arthas->SetVisible(
false);
326 pos.m_positionX =
me->GetHomePosition().GetPositionX();
327 pos.m_positionY =
me->GetHomePosition().GetPositionY();
328 pos.m_positionZ = 90.6065f;
329 me->GetMotionMaster()->MoveLand(0,
pos);
330 me->SetDisableGravity(
false,
true);
339 arthas->DespawnOrUnsummon();
421 me->GetMotionMaster()->MoveIdle();
422 me->InterruptNonMeleeSpells(
true);
512 else if (pointId == 2)
513 me->DespawnOrUnsummon(1000);
600 if (
Unit* victim =
me->GetVictim())
@ TEMPSUMMON_MANUAL_DESPAWN
GameObject * GetClosestGameObjectWithEntry(WorldObject *source, uint32 entry, float maxSearchRange)
void GetCreatureListWithEntryInGrid(std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
@ TARGET_UNIT_SRC_AREA_ENEMY
#define SpellObjectAreaTargetSelectFn(F, I, N)
@ UNIT_FLAG_NON_ATTACKABLE
@ UNIT_FLAG_NOT_SELECTABLE
static const float spectatorWP[2][3]
static Position ArthasPos
@ SPELL_RITUAL_STRIKE_TRIGGER
@ SPELL_RITUAL_PREPARATION
@ SPELL_TRANSFORMING_CHANNEL
@ H_SPELL_VOLATILE_INFECTION
@ SPELL_SHADOWS_IN_THE_DARK
@ SPELL_RITUAL_CHANNELER_1
@ SPELL_SVALA_TRANSFORMING1
@ SPELL_RITUAL_CHANNELER_3
@ SPELL_SVALA_TRANSFORMING2
@ SPELL_RITUAL_OF_THE_SWORD
@ SPELL_RITUAL_STRIKE_EFF_1
@ SPELL_VOLATILE_INFECTION
@ SPELL_RITUAL_STRIKE_EFF_2
@ SPELL_RITUAL_CHANNELER_2
AchievementCriteriaScript(const char *name)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
RitualTargetCheck(Unit *_caster)
bool operator()(WorldObject *unit) const
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
SpellScriptLoader(const char *name)
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
void DoCastVictim(uint32 spellId, bool triggered=false)
static Creature * GetCreature(WorldObject &object, uint64 guid)
InstanceScript * GetInstanceScript()
achievement_incredible_hulk()
bool OnCheck(Player *, Unit *target) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
void FilterTargets(std::list< WorldObject * > &unitList)
PrepareSpellScript(spell_paralyze_pinnacle_SpellScript)
spell_paralyze_pinnacle()
SpellScript * GetSpellScript() const OVERRIDE
void SetEquipmentSlots(bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
void SetCombatMovement(bool allowMovement)
bool HealthBelowPct(uint32 pct) const
ScriptedAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void JustDied(Unit *) OVERRIDE
void KilledUnit(Unit *victim) OVERRIDE
void JustSummoned(Creature *summon) OVERRIDE
uint32 sinsterStrikeTimer
void EnterCombat(Unit *) OVERRIDE
boss_svalaAI(Creature *creature)
InstanceScript * instance
void MoveInLineOfSight(Unit *who) OVERRIDE
void SpellHitTarget(Unit *, const SpellInfo *spell) OVERRIDE
void SummonedCreatureDespawn(Creature *summon) OVERRIDE
InstanceScript * instance
npc_ritual_channelerAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
uint32 GetData(uint32 type) const OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void DamageTaken(Unit *attacker, uint32 &damage) OVERRIDE
npc_scourge_hulkAI(Creature *creature)
bool killedByRitualStrike
void MovementInform(uint32 motionType, uint32 pointId) OVERRIDE
npc_spectatorAI(Creature *creature)
@ DATA_SVALA_SORROWGRAVE_EVENT