241 {5283.234863f, 1990.946777f, 707.695679f, 0.929097f},
242 {5408.031250f, 2102.918213f, 707.695251f, 0.792756f},
243 {5401.866699f, 2110.837402f, 707.695251f, 0.800610f},
248 {5601.217285f, 2207.652832f, 731.541931f, 5.223304f},
249 {5607.224375f, 2173.913330f, 731.126038f, 2.608723f},
250 {5583.427246f, 2138.784180f, 731.150391f, 4.260901f},
251 {5560.281738f, 2104.025635f, 731.410889f, 4.058383f},
252 {5510.990723f, 2000.772217f, 734.716064f, 3.973213f},
253 {5452.641113f, 1905.762329f, 746.530579f, 4.118834f},
254 {5338.126953f, 1768.429810f, 767.237244f, 3.855189f},
255 {5257.712402f, 1669.379395f, 784.300110f, 0.908373f},
256 {5261.191895f, 1681.901611f, 784.285278f, 4.410465f},
261 {5547.833f, 2083.701f,731.4332f,4.24115f},
262 {5503.213f, 1969.547f,737.0245f,4.293779f},
263 {5439.976f, 1879.005f,752.7048f,4.207591f},
264 {5318.289f, 1749.184f,771.9423f,4.054276f},
304 player->PlayerTalkClass->ClearMenus();
308 player->CLOSE_GOSSIP_MENU();
313 player->CLOSE_GOSSIP_MENU();
336 switch (
_events.ExecuteEvent())
339 me->GetMotionMaster()->MovePoint(0,
IntroPos);
384 uther->GetMotionMaster()->MoveIdle();
480 uther->GetMotionMaster()->MoveIdle();
543 lichking->SetWalk(
true);
569 uther->DespawnOrUnsummon(5000);
579 frostmourne->SetPhaseMask(2,
true);
595 falric->SetVisible(
true);
600 marwyn->SetVisible(
true);
605 lichking->SetWalk(
true);
615 marwyn->SetWalk(
true);
624 falric->SetWalk(
true);
660 lichking->DespawnOrUnsummon(5000);
663 me->DespawnOrUnsummon(10000);
671 lichking->SetWalk(
true);
682 _instance->HandleGameObject(0,
true, gate);
686 _instance->HandleGameObject(0,
false, gate);
724 lichking->DespawnOrUnsummon(1);
756 player->PlayerTalkClass->ClearMenus();
760 player->CLOSE_GOSSIP_MENU();
777 wallTarget->DespawnOrUnsummon();
791 me->Attack(lichking,
true);
792 lichking->Attack(
me,
true);
801 me->SetHealth(252000);
837 lichking->CombatStop();
884 lichking->Attack(
me,
true);
893 lichking->GetMotionMaster()->MoveIdle();
894 lichking->GetMotionMaster()->MoveChase(
me);
901 me->Attack(walltarget,
false);
913 _instance->HandleGameObject(0,
false, icewall);
925 lichking->GetMotionMaster()->MoveIdle();
926 lichking->GetMotionMaster()->MoveChase(
me);
935 me->GetMotionMaster()->MoveIdle();
938 lichking->StopMoving();
952 lichking->GetMotionMaster()->MoveIdle();
953 lichking->GetMotionMaster()->MoveChase(
me);
962 lichking->GetMotionMaster()->MoveIdle();
963 lichking->GetMotionMaster()->MoveChase(
me);
965 lichking->Attack(
me,
true);
974 me->Attack(walltarget,
false);
985 _instance->HandleGameObject(0,
false, icewall);
1085 lichking->DespawnOrUnsummon(1);
1172 _instance(creature->GetInstanceScript())
1239 switch (
_events.ExecuteEvent())
1311 switch (
_events.ExecuteEvent())
1397 switch (
_events.ExecuteEvent())
1456 switch (
_events.ExecuteEvent())
1511 switch (
_events.ExecuteEvent())
1638 std::list<Unit *> playerList;
1640 for (std::list<Unit*>::const_iterator itr = playerList.begin(); itr != playerList.end(); ++itr)
1642 Unit* temp = (*itr);
1698 switch (
_events.ExecuteEvent())
1725 if (player->IsGameMaster())
1744 if (player->IsGameMaster())
1757 falric->SetVisible(
true);
1762 marwyn->SetVisible(
true);
1778 if (player->IsGameMaster())
1856 me->GetMotionMaster()->MoveIdle();
1857 me->GetMotionMaster()->MoveChase(leader);
1864 if (
me->Attack(leader,
true))
1866 if (!
_doJump &&
me->IsWithinDistInMap(leader, 30.0f) && !
me->IsWithinDistInMap(leader, 5.0f))
1874 me->DespawnOrUnsummon();
1957 me->GetMotionMaster()->MoveIdle();
1958 me->GetMotionMaster()->MoveChase(leader);
1993 me->DespawnOrUnsummon();
2053 me->GetMotionMaster()->MoveIdle();
2054 me->GetMotionMaster()->MoveChase(leader);
2076 me->DespawnOrUnsummon();
@ TEMPSUMMON_MANUAL_DESPAWN
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
@ UNIT_NPC_FLAG_QUESTGIVER
@ UNIT_FLAG_NON_ATTACKABLE
@ UNIT_FLAG_NOT_SELECTABLE
@ UNIT_FIELD_NPC_EMOTESTATE
@ SPELL_SHADOW_BOLT_VOLLEY
AreaTriggerScript(const char *name)
void DoZoneInCombat(Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
EncounterState GetBossState(uint32 id) const
static Creature * GetCreature(WorldObject const &u, uint64 guid)
static GameObject * GetGameObject(WorldObject const &u, uint64 guid)
void SelectTargetList(std::list< Unit * > &targetList, uint32 num, SelectAggroTarget targetType, float dist=0.0f, bool playerOnly=false, int32 aura=0)
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)
void DoCastAOE(uint32 spellId, bool triggered=false)
virtual void AttackStart(Unit *)
void setFaction(uint32 faction)
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
static Creature * GetCreature(WorldObject &object, uint64 guid)
GameObject * FindNearestGameObject(uint32 entry, float range) const
void SetName(std::string const &newname)
std::string const & GetName() const
virtual uint32 GetData(uint32) const
virtual void SetData(uint32, uint32)
virtual void ProcessEvent(WorldObject *, uint32)
virtual uint64 GetData64(uint32) const
bool OnTrigger(Player *player, AreaTriggerEntry const *) OVERRIDE
bool OnTrigger(Player *player, AreaTriggerEntry const *) OVERRIDE
bool OnTrigger(Player *player, const AreaTriggerEntry *) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_jaina_or_sylvanas_escape_hor()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_jaina_or_sylvanas_hor()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_lumbering_abomination()
npc_phantom_hallucination()
CreatureAI * GetAI(Creature *creature) const 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
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_spiritual_reflection()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
const Position MoveThronePos
const Position FalricStartPos
const Position LichKingMoveAwayPos
const Position HallsofReflectionLocs[]
@ QUEST_WRATH_OF_THE_LICH_KING_H2
@ QUEST_DELIVRANCE_FROM_THE_PIT_H2
@ QUEST_WRATH_OF_THE_LICH_KING_A2
@ QUEST_DELIVRANCE_FROM_THE_PIT_A2
const Position LichKingMoveThronePos
void AddSC_halls_of_reflection()
const Position LichKingFinalPos
@ EVENT_ENVENOMED_DAGGER_THROW
@ EVENT_CIRCLE_OF_DESTRUCTION
@ SPELL_SHADOW_BOLT_VOLLEY
@ SPELL_SUMMON_RISE_WITCH_DOCTOR
@ SPELL_FROSTMOURNE_VISUAL
@ SPELL_SUMMON_LUMBERING_ABOMINATION
@ SPELL_JAINA_DESTROY_ICE_WALL
@ SPELL_SYLVANAS_DARKBINDING
@ SPELL_FROSTMOURNE_SOUNDS
@ SPELL_REMORSELESS_WINTER
@ SPELL_SYLVANAS_CLOAKOFDARKNESS
@ SPELL_FURY_OF_FROSTMOURNE
@ SPELL_SYLVANAS_DESTROY_ICE_WALL
@ SPELL_FROSTMOURNE_DESPAWN
const Position SylvanasShadowThroneDoor
const Position IceWalls[]
const Position NpcJainaOrSylvanasEscapeRoute[]
@ SPELL_CIRCLE_OF_DESTRUCTION
@ SPELL_ENVENOMED_DAGGER_THROW
const Position LichKingSpawnPos
const Position JainaShadowThroneDoor
@ SAY_LK_SYLVANAS_INTRO_END
const Position LichKingFirstSummon
const Position MarwynStartPos
const Position FinalPortalPos
const Position UtherSpawnPos
@ EVENT_OPEN_FROSTWORN_DOOR
@ EVENT_CLOSE_FROSTWORN_DOOR
const Position LichKingSpawnPos2
AI * GetHallsOfReflectionAI(Creature *creature)
float GetPositionZ() const
float GetOrientation() const
float GetPositionX() const
float GetPositionY() const
Unit * DoSelectLowestHpFriendly(float range, uint32 minHPDiff=1)
ScriptedAI(Creature *creature)
const T & DUNGEON_MODE(const T &normal5, const T &heroic5) const
void AttackStart(Unit *) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
InstanceScript * _instance
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void JustDied(Unit *) OVERRIDE
npc_frostworn_generalAI(Creature *creature)
uint32 GetData(uint32 type) const OVERRIDE
void EnterEvadeMode() OVERRIDE
void SetData(uint32 type, uint32 value) OVERRIDE
npc_gauntlet_trash(Creature *creature)
InstanceScript * _instance
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void EnterCombat(Unit *) OVERRIDE
npc_ghostly_priestAI(Creature *creature)
npc_jaina_or_sylvanas_escape_horAI(Creature *creature)
void JustDied(Unit *) OVERRIDE
void DoAction(int32 actionId) OVERRIDE
InstanceScript * _instance
void sGossipSelect(Player *player, uint32, uint32 action) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
InstanceScript * _instance
void sGossipSelect(Player *player, uint32, uint32 action) OVERRIDE
npc_jaina_or_sylvanas_horAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_lumbering_abominationAI(Creature *creature)
InstanceScript * _instance
void JustDied(Unit *) OVERRIDE
void IsSummonedBy(Unit *) OVERRIDE
npc_phantom_hallucinationAI(Creature *creature)
void JustDied(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_phantom_mageAI(Creature *creature)
void EnterCombat(Unit *) OVERRIDE
void AttackStart(Unit *who) OVERRIDE
npc_raging_ghoulAI(Creature *creature)
InstanceScript * _instance
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void IsSummonedBy(Unit *) OVERRIDE
void JustDied(Unit *) OVERRIDE
InstanceScript * _instance
npc_risen_witch_doctorAI(Creature *creature)
void IsSummonedBy(Unit *) OVERRIDE
void AttackStart(Unit *who) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void JustDied(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_shadowy_mercenaryAI(Creature *creature)
void EnterCombat(Unit *) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void JustDied(Unit *killer) OVERRIDE
npc_spiritual_reflectionAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void EnterCombat(Unit *) OVERRIDE
npc_tortured_riflemanAI(Creature *creature)