AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
npc_tirion_fordring_tft::npc_tirion_fordringAI Struct Reference
Inheritance diagram for npc_tirion_fordring_tft::npc_tirion_fordringAI:
ScriptedAI CreatureAI UnitAI

Public Member Functions

 npc_tirion_fordringAI (Creature *creature)
 
void Reset () override
 
void MovementInform (uint32 type, uint32 id) override
 
void DoAction (int32 action) override
 
void SpellHit (Unit *, SpellInfo const *spell) override
 
void JustReachedHome () override
 
void sGossipSelect (Player *, uint32 sender, uint32 action) override
 
void UpdateAI (uint32 diff) override
 Use to start attacking a target. Called just before JustEngagedWith() More...
 
void EnterEvadeMode (EvadeReason why) override
 
bool CanAIAttack (Unit const *target) const override
 
- Public Member Functions inherited from ScriptedAI
 ScriptedAI (Creature *creature)
 
 ~ScriptedAI () override
 
void AttackStartNoMove (Unit *target)
 
void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask) override
 Called at any Damage from any attacker (before damage apply) More...
 
void UpdateAI (uint32 diff) override
 Use to start attacking a target. Called just before JustEngagedWith() More...
 
void JustDied (Unit *) override
 
void KilledUnit (Unit *) override
 
void JustSummoned (Creature *) override
 
void SummonedCreatureDespawn (Creature *) override
 
void SpellHit (Unit *, SpellInfo const *) override
 
void SpellHitTarget (Unit *, SpellInfo const *) override
 
void MovementInform (uint32, uint32) override
 
void OnPossess (bool)
 
bool IsInRoom (const Position *pos, Axis axis, bool above)
 
void Reset () override
 
void JustEngagedWith (Unit *) override
 Called for reaction when initially engaged. More...
 
void AttackStart (Unit *) override
 
void DoStartMovement (Unit *target, float distance=0.0f, float angle=0.0f)
 
void DoStartNoMovement (Unit *target)
 
void DoStopAttack ()
 
void DoCastSpell (Unit *target, SpellInfo const *spellInfo, bool triggered=false)
 
void DoPlaySoundToSet (WorldObject *source, uint32 soundId)
 
void DoPlayMusic (uint32 soundId, bool zone)
 
void DoAddThreat (Unit *unit, float amount)
 
void DoModifyThreatByPercent (Unit *unit, int32 pct)
 
void DoResetThreat (Unit *unit)
 
void DoResetThreatList ()
 
float DoGetThreat (Unit *unit)
 
void DoTeleportPlayer (Unit *unit, float x, float y, float z, float o)
 
void DoTeleportPlayer (Unit *unit, Position pos)
 
void DoTeleportAll (float x, float y, float z, float o)
 
UnitDoSelectLowestHpFriendly (float range, uint32 minHPDiff=1)
 
std::list< Creature * > DoFindFriendlyCC (float range)
 
std::list< Creature * > DoFindFriendlyMissingBuff (float range, uint32 spellId)
 
PlayerGetPlayerAtMinimumRange (float minRange)
 
CreatureDoSpawnCreature (uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, uint32 type, uint32 despawntime)
 
bool IsUniqueTimedEventDone (uint32 id) const
 
void SetUniqueTimedEventDone (uint32 id)
 
void ResetUniqueTimedEvent (uint32 id)
 
void ClearUniqueTimedEventsDone ()
 
void ScheduleTimedEvent (Milliseconds timerMin, Milliseconds timerMax, std::function< void()> exec, Milliseconds repeatMin, Milliseconds repeatMax=0s, uint32 uniqueId=0)
 
void ScheduleTimedEvent (Milliseconds timerMax, std::function< void()> exec, Milliseconds repeatMin, Milliseconds repeatMax=0s, uint32 uniqueId=0)
 
void ScheduleUniqueTimedEvent (Milliseconds timer, std::function< void()> exec, uint32 uniqueId)
 
bool HealthBelowPct (uint32 pct) const
 
bool HealthAbovePct (uint32 pct) const
 
SpellInfo const * SelectSpell (Unit *target, uint32 school, uint32 mechanic, SelectTargetType targets, uint32 powerCostMin, uint32 powerCostMax, float rangeMin, float rangeMax, SelectEffect effect)
 
void SetEquipmentSlots (bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
 
virtual bool CheckEvadeIfOutOfCombatArea () const
 
bool IsHeroic () const
 
Difficulty GetDifficulty () const
 
bool Is25ManRaid () const
 
template<class T >
const T & DUNGEON_MODE (const T &normal5, const T &heroic10) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25, const T &heroic10, const T &heroic25) const
 
PlayerSelectTargetFromPlayerList (float maxdist, uint32 excludeAura=0, bool mustBeInLOS=false) const
 
- Public Member Functions inherited from CreatureAI
void Talk (uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
 Causes the creature to talk/say the text assigned to their entry in the creature_text database table. More...
 
void Talk (uint8 id, Milliseconds delay)
 
 CreatureAI (Creature *creature)
 
 ~CreatureAI () override
 
void MoveCircleChecks ()
 
void MoveBackwardsChecks ()
 
void MoveInLineOfSight_Safe (Unit *who)
 == Reactions At ================================= More...
 
void TriggerAlert (Unit const *who) const
 
virtual bool CanRespawn ()
 
virtual void EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
virtual void JustEngagedWith (Unit *)
 Called for reaction when initially engaged. More...
 
virtual void JustDied (Unit *)
 
virtual void KilledUnit (Unit *)
 
virtual void JustSummoned (Creature *)
 
virtual void IsSummonedBy (WorldObject *)
 
virtual void SummonedCreatureDespawn (Creature *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void SummonedCreatureDespawnAll ()
 
virtual void SummonedCreatureEvade (Creature *)
 
virtual void SpellHit (Unit *, SpellInfo const *)
 
virtual void SpellHitTarget (Unit *, SpellInfo const *)
 
virtual void AttackedBy (Unit *)
 
virtual bool IsEscorted ()
 
virtual void JustRespawned ()
 
virtual void MovementInform (uint32, uint32)
 
virtual void PathEndReached (uint32)
 
void OnCharmed (bool apply) override
 Called when unit is charmed. More...
 
virtual void JustReachedHome ()
 
void DoZoneInCombat (Creature *creature=nullptr, float maxRangeToNearestTarget=250.0f)
 
virtual void ReceiveEmote (Player *, uint32)
 
virtual void OwnerAttackedBy (Unit *)
 
virtual void OwnerAttacked (Unit *)
 
virtual void CorpseRemoved (uint32 &)
 == Triggered Actions Requested ================== More...
 
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields ======================================= More...
 
virtual bool BeforeSpellClick (Unit *)
 
virtual void OnSpellClick (Unit *, bool &)
 
virtual bool CanSeeAlways (WorldObject const *)
 
virtual bool CanBeSeen (Player const *)
 
virtual bool CanAlwaysBeDetectable (WorldObject const *)
 
virtual void PetStopAttack ()
 
virtual bool CheckInRoom ()
 
CreatureBoundary const * GetBoundary () const
 
void SetBoundary (CreatureBoundary const *boundary, bool negativeBoundaries=false)
 
bool IsInBoundary (Position const *who=nullptr) const
 
virtual void CalculateThreat (Unit *, float &, SpellInfo const *)
 
virtual bool OnTeleportUnreacheablePlayer (Player *)
 
virtual void OnAuraRemove (AuraApplication *, AuraRemoveMode)
 
- Public Member Functions inherited from UnitAI
 UnitAI (Unit *unit)
 
virtual ~UnitAI ()
 
virtual bool CanAIAttack (Unit const *) const
 
virtual void AttackStart (Unit *)
 
virtual void UpdateAI (uint32)=0
 Use to start attacking a target. Called just before JustEngagedWith() More...
 
virtual void InitializeAI ()
 
virtual void Reset ()
 
virtual void OnCharmed (bool apply)=0
 Called when unit is charmed. More...
 
virtual void DoAction (int32)
 
virtual uint32 GetData (uint32) const
 
virtual void SetData (uint32, uint32)
 
virtual void SetGUID (ObjectGuid, int32=0)
 
virtual ObjectGuid GetGUID (int32=0) const
 
UnitSelectTarget (SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
 
template<class PREDICATE >
UnitSelectTarget (SelectTargetMethod targetType, uint32 position, PREDICATE const &predicate)
 
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
 Select the best (up to) <num> targets (in <targetType> order) from the threat list that fulfill the following: More...
 
template<class PREDICATE >
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 position, PREDICATE const &predicate)
 
virtual void JustEnteredCombat (Unit *)
 Called when the unit enters combat. More...
 
virtual void JustExitedCombat ()
 Called when the unit leaves combat. More...
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
 Called at any Damage to any victim (before damage apply) More...
 
virtual void DamageTaken (Unit *, uint32 &, DamageEffectType, SpellSchoolMask)
 Called at any Damage from any attacker (before damage apply) More...
 
virtual void HealReceived (Unit *, uint32 &)
 Called when the creature receives heal. More...
 
virtual void OnPowerUpdate (Powers, int32, int32, uint32)
 Called when the creature power updates. More...
 
virtual void HealDone (Unit *, uint32 &)
 Called when the unit heals. More...
 
virtual void OnCalculateMeleeDamageReceived (uint32 &, Unit *)
 Called during damage calculations. More...
 
virtual void OnCalculateSpellDamageReceived (int32 &, Unit *)
 
virtual void OnCalculatePeriodicTickReceived (uint32 &, Unit *)
 Called during calculation when receiving periodic healing or damage (DoT or HoT) More...
 
void AttackStartCaster (Unit *victim, float dist)
 
SpellCastResult DoAddAuraToAllHostilePlayers (uint32 spellid)
 
SpellCastResult DoCast (uint32 spellId)
 
SpellCastResult DoCast (Unit *victim, uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastSelf (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastToAllHostilePlayers (uint32 spellid, bool triggered=false)
 To specify the caster as target if the spell is self-cast. More...
 
SpellCastResult DoCastVictim (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastAOE (uint32 spellId, bool triggered=false)
 
SpellCastResult DoCastRandomTarget (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false, bool withTank=true)
 Cast the spell on a random unit from the threat list. More...
 
SpellCastResult DoCastMaxThreat (uint32 spellId, uint32 threatTablePosition=0, float dist=0.0f, bool playerOnly=true, bool triggered=false)
 Cast spell on the top threat target, which may not be the current victim. More...
 
float DoGetSpellMaxRange (uint32 spellId, bool positive=false)
 
void DoMeleeAttackIfReady ()
 
bool DoSpellAttackIfReady (uint32 spell)
 
void DoSpellAttackToRandomTargetIfReady (uint32 spell, uint32 threatTablePosition=0, float dist=0.f, bool playerOnly=true)
 
virtual void SummonMovementInform (Creature *, uint32, uint32)
 Called when a summon reaches a waypoint or point movement finished. More...
 
virtual void sGossipHello (Player *)
 
virtual void sGossipSelect (Player *, uint32, uint32)
 
virtual void sGossipSelectCode (Player *, uint32, uint32, char const *)
 
virtual void sQuestAccept (Player *, Quest const *)
 
virtual void sQuestSelect (Player *, Quest const *)
 
virtual void sQuestComplete (Player *, Quest const *)
 
virtual void sQuestReward (Player *, Quest const *, uint32)
 
virtual void sOnGameEvent (bool, uint16)
 
virtual std::string GetDebugInfo () const
 

Private Attributes

EventMap _events
 
InstanceScript_instance
 

Additional Inherited Members

- Public Types inherited from ScriptedAI
enum class  Axis {
  AXIS_X ,
  AXIS_Y
}
 
- Public Types inherited from CreatureAI
enum  EvadeReason {
  EVADE_REASON_NO_HOSTILES ,
  EVADE_REASON_BOUNDARY ,
  EVADE_REASON_SEQUENCE_BREAK ,
  EVADE_REASON_NO_PATH ,
  EVADE_REASON_OTHER
}
 
- Static Public Member Functions inherited from CreatureAI
static bool IsInBounds (CreatureBoundary const &boundary, Position const *who)
 
- Static Public Member Functions inherited from UnitAI
static void FillAISpellInfo ()
 
- Public Attributes inherited from ScriptedAI
Creatureme
 
- Static Public Attributes inherited from UnitAI
static AISpellInfoTypeAISpellInfo
 
- Protected Member Functions inherited from CreatureAI
bool UpdateVictim ()
 
bool UpdateVictimWithGaze ()
 
void SetGazeOn (Unit *target)
 
CreatureDoSummon (uint32 entry, Position const &pos, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummon (uint32 entry, WorldObject *obj, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummonFlyer (uint32 entry, WorldObject *obj, float flightZ, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
virtual void MoveInLineOfSight (Unit *)
 
bool _EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
- Protected Attributes inherited from CreatureAI
Creature *const me
 
EventMap events
 
TaskScheduler scheduler
 
CreatureBoundary const * _boundary
 
bool _negateBoundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Detailed Description

Constructor & Destructor Documentation

◆ npc_tirion_fordringAI()

npc_tirion_fordring_tft::npc_tirion_fordringAI::npc_tirion_fordringAI ( Creature creature)
inline
1290: ScriptedAI(creature), _instance(creature->GetInstanceScript()) {}
Definition: ScriptedCreature.h:190
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
InstanceScript * _instance
Definition: boss_the_lich_king.cpp:1669

Member Function Documentation

◆ CanAIAttack()

bool npc_tirion_fordring_tft::npc_tirion_fordringAI::CanAIAttack ( Unit const *  target) const
inlineoverridevirtual

Reimplemented from UnitAI.

1663 {
1664 return target->GetEntry() == NPC_THE_LICH_KING;
1665 }
@ NPC_THE_LICH_KING
Definition: chapter5.cpp:240

References Object::GetEntry(), and NPC_THE_LICH_KING.

◆ DoAction()

void npc_tirion_fordring_tft::npc_tirion_fordringAI::DoAction ( int32  action)
inlineoverridevirtual

Reimplemented from UnitAI.

1328 {
1329 switch (action)
1330 {
1331 case ACTION_OUTRO:
1340 break;
1344 break;
1345 }
1346 }
@ ACTION_OUTRO
Definition: boss_the_lich_king.cpp:340
@ ACTION_BREAK_FROSTMOURNE
Definition: boss_the_lich_king.cpp:341
@ EVENT_OUTRO_LK_TALK_3
Definition: boss_the_lich_king.cpp:217
@ EVENT_OUTRO_LK_TALK_2
Definition: boss_the_lich_king.cpp:215
@ EVENT_OUTRO_LK_TALK_6
Definition: boss_the_lich_king.cpp:223
@ EVENT_OUTRO_LK_EMOTE_CAST_SHOUT
Definition: boss_the_lich_king.cpp:218
@ EVENT_OUTRO_LK_MOVE_CENTER
Definition: boss_the_lich_king.cpp:219
@ EVENT_OUTRO_LK_EMOTE_TALK
Definition: boss_the_lich_king.cpp:216
@ EVENT_OUTRO_LK_TALK_1
Definition: boss_the_lich_king.cpp:214
@ EVENT_OUTRO_SOUL_BARRAGE
Definition: boss_the_lich_king.cpp:233
void ScheduleEvent(uint32 eventId, uint32 time, uint32 group=0, uint32 phase=0)
Definition: EventMap.cpp:56
EventMap _events
Definition: boss_the_lich_king.cpp:1668

References _events, ACTION_BREAK_FROSTMOURNE, ACTION_OUTRO, EVENT_OUTRO_LK_EMOTE_CAST_SHOUT, EVENT_OUTRO_LK_EMOTE_TALK, EVENT_OUTRO_LK_MOVE_CENTER, EVENT_OUTRO_LK_TALK_1, EVENT_OUTRO_LK_TALK_2, EVENT_OUTRO_LK_TALK_3, EVENT_OUTRO_LK_TALK_6, EVENT_OUTRO_SOUL_BARRAGE, and EventMap::ScheduleEvent().

◆ EnterEvadeMode()

void npc_tirion_fordring_tft::npc_tirion_fordringAI::EnterEvadeMode ( EvadeReason  why)
inlineoverridevirtual

Reimplemented from CreatureAI.

1647 {
1648 if (!me->IsAlive())
1649 return;
1650
1652 if (theLichKing->IsInEvadeMode())
1653 {
1655 return;
1656 }
1657
1659 me->CombatStop(false);
1660 }
@ DATA_THE_LICH_KING
Definition: icecrown_citadel.h:104
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:213
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: CreatureAI.cpp:197
Creature * me
Definition: ScriptedCreature.h:280
void ClearAllThreat()
Definition: ThreatMgr.cpp:417
Definition: Creature.h:46
void CombatStop(bool includingCast=false)
Definition: Unit.cpp:10398
bool IsAlive() const
Definition: Unit.h:1204
ThreatMgr & GetThreatMgr()
Definition: Unit.h:839
ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:95

References _instance, ThreatMgr::ClearAllThreat(), Unit::CombatStop(), DATA_THE_LICH_KING, CreatureAI::EnterEvadeMode(), ObjectAccessor::GetCreature(), InstanceScript::GetGuidData(), Unit::GetThreatMgr(), Unit::IsAlive(), and ScriptedAI::me.

◆ JustReachedHome()

void npc_tirion_fordring_tft::npc_tirion_fordringAI::JustReachedHome ( )
inlineoverridevirtual

Reimplemented from CreatureAI.

1365 {
1370 }
@ DONE
Definition: InstanceScript.h:60
@ UNIT_NPC_FLAG_GOSSIP
Definition: UnitDefines.h:294
@ UNIT_NPC_EMOTESTATE
Definition: UpdateFields.h:140
@ DATA_LK_HC_AVAILABLE
Definition: icecrown_citadel.h:147
@ EMOTE_ONESHOT_NONE
Definition: SharedDefines.h:1894
virtual void JustReachedHome()
Definition: CreatureAI.h:164
Map * GetMap() const
Definition: Object.h:531
void SetNpcFlag(NPCFlags flags)
Definition: Unit.h:695
void SetUInt32Value(uint16 index, uint32 value)
Definition: Unit.cpp:21256
EncounterState GetBossState(uint32 id) const
Definition: InstanceScript.h:235
bool IsHeroic() const
Definition: Map.h:452
virtual uint32 GetData(uint32) const
Definition: ZoneScript.h:52

References _instance, DATA_LK_HC_AVAILABLE, DATA_THE_LICH_KING, DONE, EMOTE_ONESHOT_NONE, InstanceScript::GetBossState(), ZoneScript::GetData(), WorldObject::GetMap(), Map::IsHeroic(), CreatureAI::JustReachedHome(), ScriptedAI::me, Unit::SetNpcFlag(), Unit::SetUInt32Value(), UNIT_NPC_EMOTESTATE, and UNIT_NPC_FLAG_GOSSIP.

◆ MovementInform()

void npc_tirion_fordring_tft::npc_tirion_fordringAI::MovementInform ( uint32  type,
uint32  id 
)
inlineoverridevirtual

Reimplemented from ScriptedAI.

1301 {
1302 if (type != POINT_MOTION_TYPE)
1303 return;
1304
1305 switch (id)
1306 {
1307 case POINT_TIRION_INTRO:
1309 {
1310 if (!theLichKing->IsAlive() || !theLichKing->IsVisible())
1311 break;
1313 theLichKing->SetStandState(UNIT_STAND_STATE_STAND);
1314 theLichKing->SetSheath(SHEATH_STATE_MELEE);
1315 theLichKing->RemoveAurasDueToSpell(SPELL_EMOTE_SIT_NO_SHEATH);
1316 theLichKing->AI()->Talk(SAY_LK_INTRO_1);
1319 }
1320 break;
1321 case POINT_TIRION_OUTRO:
1323 break;
1324 }
1325 }
@ POINT_MOTION_TYPE
Definition: MotionMaster.h:46
@ UNIT_STAND_STATE_STAND
Definition: UnitDefines.h:32
@ SHEATH_STATE_MELEE
Definition: UnitDefines.h:106
@ MUSIC_FROZEN_THRONE
Definition: boss_the_lich_king.cpp:350
@ SPELL_EMOTE_SIT_NO_SHEATH
Definition: boss_the_lich_king.cpp:82
@ POINT_TIRION_OUTRO
Definition: boss_the_lich_king.cpp:330
@ POINT_TIRION_INTRO
Definition: boss_the_lich_king.cpp:329
@ SAY_LK_INTRO_1
Definition: boss_the_lich_king.cpp:39
@ EVENT_OUTRO_FORDRING_JUMP
Definition: boss_the_lich_king.cpp:230
@ EVENT_INTRO_LK_MOVE
Definition: boss_the_lich_king.cpp:202
@ AREA_THE_FROZEN_THRONE
Definition: icecrown_citadel.h:586
@ EMOTE_STATE_READY2H
Definition: SharedDefines.h:1970
void SetZoneMusic(uint32 zoneId, uint32 musicId)
Definition: Map.cpp:3759

References _events, _instance, AREA_THE_FROZEN_THRONE, DATA_THE_LICH_KING, EMOTE_STATE_READY2H, EVENT_INTRO_LK_MOVE, EVENT_OUTRO_FORDRING_JUMP, ObjectAccessor::GetCreature(), InstanceScript::GetGuidData(), WorldObject::GetMap(), ScriptedAI::me, MUSIC_FROZEN_THRONE, POINT_MOTION_TYPE, POINT_TIRION_INTRO, POINT_TIRION_OUTRO, SAY_LK_INTRO_1, EventMap::ScheduleEvent(), Unit::SetUInt32Value(), Map::SetZoneMusic(), SHEATH_STATE_MELEE, SPELL_EMOTE_SIT_NO_SHEATH, UNIT_NPC_EMOTESTATE, and UNIT_STAND_STATE_STAND.

◆ Reset()

void npc_tirion_fordring_tft::npc_tirion_fordringAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

1293 {
1294 _events.Reset();
1298 }
@ REACT_PASSIVE
Definition: Unit.h:548
void Reset()
Definition: EventMap.cpp:21
void SetReactState(ReactStates state)
A creature can have 3 ReactStates : Agressive, Passive, Neutral.
Definition: Creature.h:97
void RemoveNpcFlag(NPCFlags flags)
Definition: Unit.h:696

References _events, _instance, DATA_LK_HC_AVAILABLE, DATA_THE_LICH_KING, DONE, InstanceScript::GetBossState(), ZoneScript::GetData(), WorldObject::GetMap(), Map::IsHeroic(), ScriptedAI::me, REACT_PASSIVE, Unit::RemoveNpcFlag(), EventMap::Reset(), Creature::SetReactState(), and UNIT_NPC_FLAG_GOSSIP.

◆ sGossipSelect()

void npc_tirion_fordring_tft::npc_tirion_fordringAI::sGossipSelect ( Player ,
uint32  sender,
uint32  action 
)
inlineoverridevirtual

Reimplemented from UnitAI.

1373 {
1375 if (me->GetCreatureTemplate()->GossipMenuId == sender && !action && me->HasNpcFlag(UNIT_NPC_FLAG_GOSSIP) && theLichKing && !theLichKing->IsInEvadeMode())
1376 {
1378 return;
1380 me->SetWalk(true);
1382 }
1383 }
Position const TirionIntro
Definition: boss_the_lich_king.cpp:315
CreatureTemplate const * GetCreatureTemplate() const
Definition: Creature.h:206
bool SetWalk(bool enable) override
Enable or disable the creature's walk mode by removing: MOVEMENTFLAG_WALKING. Infom also the client.
Definition: Creature.cpp:3178
bool IsInEvadeMode() const
Definition: Creature.h:137
uint32 GossipMenuId
Definition: CreatureData.h:197
MotionMaster * GetMotionMaster()
Definition: Unit.h:1601
bool HasNpcFlag(NPCFlags flags) const
Definition: Unit.h:694
void MovePoint(uint32 id, const Position &pos, bool generatePath=true, bool forceDestination=true)
Definition: MotionMaster.h:211

References _instance, DATA_LK_HC_AVAILABLE, DATA_THE_LICH_KING, ObjectAccessor::GetCreature(), Creature::GetCreatureTemplate(), ZoneScript::GetData(), InstanceScript::GetGuidData(), WorldObject::GetMap(), Unit::GetMotionMaster(), CreatureTemplate::GossipMenuId, Unit::HasNpcFlag(), Map::IsHeroic(), Creature::IsInEvadeMode(), ScriptedAI::me, MotionMaster::MovePoint(), POINT_TIRION_INTRO, Unit::RemoveNpcFlag(), Creature::SetWalk(), TirionIntro, and UNIT_NPC_FLAG_GOSSIP.

◆ SpellHit()

void npc_tirion_fordring_tft::npc_tirion_fordringAI::SpellHit ( Unit ,
SpellInfo const *  spell 
)
inlineoverridevirtual

Reimplemented from ScriptedAI.

1349 {
1350 if (spell->Id == SPELL_ICE_LOCK)
1351 {
1352 me->StopMoving();
1353 me->GetMotionMaster()->Clear(true);
1354 me->SetFacingTo(3.085098f);
1355 }
1356 else if (spell->Id == SPELL_BROKEN_FROSTMOURNE_KNOCK)
1357 {
1358 // remove glow on ashbringer and tirion
1359 me->RemoveAllAuras();
1361 }
1362 }
@ EQUIP_ASHBRINGER
Definition: boss_the_lich_king.cpp:349
@ SPELL_ICE_LOCK
Definition: boss_the_lich_king.cpp:86
@ SPELL_BROKEN_FROSTMOURNE_KNOCK
Definition: boss_the_lich_king.cpp:101
void SetEquipmentSlots(bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
Definition: ScriptedCreature.cpp:520
void SetFacingTo(float ori)
Definition: Unit.cpp:20483
void StopMoving()
Definition: Unit.cpp:16606
void RemoveAllAuras()
Definition: Unit.cpp:5290
void Clear(bool reset=true)
Definition: MotionMaster.h:165

References MotionMaster::Clear(), EQUIP_ASHBRINGER, Unit::GetMotionMaster(), SpellInfo::Id, ScriptedAI::me, Unit::RemoveAllAuras(), ScriptedAI::SetEquipmentSlots(), Unit::SetFacingTo(), SPELL_BROKEN_FROSTMOURNE_KNOCK, SPELL_ICE_LOCK, and Unit::StopMoving().

◆ UpdateAI()

void npc_tirion_fordring_tft::npc_tirion_fordringAI::UpdateAI ( uint32  )
inlineoverridevirtual

Use to start attacking a target. Called just before JustEngagedWith()

Reimplemented from ScriptedAI.

1391 {
1392 UpdateVictim();
1393
1394 _events.Update(diff);
1395
1397 return;
1398
1399 switch (_events.ExecuteEvent())
1400 {
1403 {
1405 path.push_back(G3D::Vector3(theLichKing->GetPositionX(), theLichKing->GetPositionY(), theLichKing->GetPositionZ()));
1406 for (uint8 i = 0; i < 3; ++i)
1407 path.push_back(G3D::Vector3(LichKingIntro[i].GetPositionX(), LichKingIntro[i].GetPositionY(), LichKingIntro[i].GetPositionZ()));
1408 theLichKing->SetWalk(true);
1409 theLichKing->GetMotionMaster()->MoveSplinePath(&path);
1411 }
1412 break;
1415 {
1416 theLichKing->AI()->Talk(SAY_LK_INTRO_2);
1417 theLichKing->HandleEmoteCommand(EMOTE_ONESHOT_TALK_NO_SHEATHE);
1422 }
1423 break;
1426 theLichKing->CastSpell(theLichKing, SPELL_EMOTE_SHOUT_NO_SHEATH, false);
1427 break;
1430 theLichKing->HandleEmoteCommand(EMOTE_ONESHOT_POINT_NO_SHEATHE);
1431 break;
1434 {
1435 theLichKing->AI()->Talk(SAY_LK_INTRO_3);
1436 theLichKing->CastSpell((Unit*)nullptr, SPELL_ICE_LOCK, false);
1438 }
1439 break;
1441 {
1445 }
1446 break;
1448 {
1452 }
1453 break;
1456 break;
1458 me->SetWalk(false);
1460 break;
1461 case EVENT_INTRO_FINISH:
1463 {
1464 theLichKing->SetWalk(false);
1465 theLichKing->SetImmuneToPC(false);
1466 theLichKing->SetReactState(REACT_AGGRESSIVE);
1467 theLichKing->SetInCombatWithZone();
1468 if (!theLichKing->IsInCombat())
1469 theLichKing->AI()->EnterEvadeMode();
1470 }
1471 break;
1472
1475 {
1476 theLichKing->AI()->Talk(SAY_LK_OUTRO_1);
1477 theLichKing->CastSpell((Unit*)nullptr, SPELL_FURY_OF_FROSTMOURNE_NO_REZ, true);
1478 Map::PlayerList const& pl = me->GetMap()->GetPlayers();
1479 for (Map::PlayerList::const_iterator itr = pl.begin(); itr != pl.end(); ++itr)
1480 if (Player* p = itr->GetSource())
1481 if (p->IsAlive())
1482 Unit::Kill(me, p);
1483 }
1484 break;
1487 {
1488 theLichKing->AI()->Talk(SAY_LK_OUTRO_2);
1489 theLichKing->CastSpell((Unit*)nullptr, SPELL_EMOTE_QUESTION_NO_SHEATH, false);
1490 }
1491 break;
1494 theLichKing->HandleEmoteCommand(EMOTE_ONESHOT_TALK_NO_SHEATHE);
1495 break;
1498 {
1499 theLichKing->SetFacingToObject(me);
1500 theLichKing->AI()->Talk(SAY_LK_OUTRO_3);
1501 }
1502 break;
1505 {
1506 theLichKing->GetMotionMaster()->MovePoint(0, CenterPosition);
1507 uint32 travelTime = 1000 * theLichKing->GetExactDist(&CenterPosition) / theLichKing->GetSpeed(MOVE_WALK) + 1000;
1508
1511 _events.ScheduleEvent(EVENT_OUTRO_LK_TALK_5, 29000 + travelTime);
1512 }
1513 break;
1516 {
1517 theLichKing->SetFacingTo(0.01745329f);
1518 theLichKing->AI()->Talk(SAY_LK_OUTRO_4);
1519 }
1520 break;
1523 {
1524 theLichKing->CastSpell((Unit*)nullptr, SPELL_RAISE_DEAD, false);
1525 theLichKing->ClearUnitState(UNIT_STATE_CASTING);
1527 }
1528 break;
1531 {
1532 theLichKing->AI()->Talk(SAY_LK_OUTRO_5);
1537 }
1538 break;
1541 {
1542 theLichKing->AI()->Talk(SAY_LK_OUTRO_6);
1543 me->SetFacingToObject(theLichKing);
1544 theLichKing->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, EQUIP_UNEQUIP);
1545 theLichKing->CastSpell((Unit*)nullptr, SPELL_SUMMON_BROKEN_FROSTMOURNE_3, true);
1548
1551 break;
1552 }
1553 break;
1555 if (Creature* frostmourne = me->FindNearestCreature(NPC_FROSTMOURNE_TRIGGER, 50.0f))
1556 frostmourne->CastSpell((Unit*)nullptr, SPELL_BROKEN_FROSTMOURNE, true);
1557 break;
1559 if (Creature* frostmourne = me->FindNearestCreature(NPC_FROSTMOURNE_TRIGGER, 50.0f))
1560 frostmourne->CastSpell((Unit*)nullptr, SPELL_BROKEN_FROSTMOURNE_KNOCK, false);
1561 break;
1564 {
1565 theLichKing->CastSpell((Unit*)nullptr, SPELL_SOUL_BARRAGE, TRIGGERED_IGNORE_CAST_IN_PROGRESS);
1567 theLichKing->SetDisableGravity(true);
1568 theLichKing->GetMotionMaster()->MovePoint(0, OutroFlying);
1569
1571 }
1572 break;
1576 break;
1578 if (Creature* frostmourne = me->FindNearestCreature(NPC_FROSTMOURNE_TRIGGER, 50.0f))
1579 {
1580 frostmourne->CastSpell((Unit*)nullptr, SPELL_SUMMON_TERENAS, false);
1582 terenas->SetFacingToObject(frostmourne);
1583 }
1586 break;
1589 terenas->AI()->Talk(SAY_TERENAS_OUTRO_1);
1590 break;
1593 {
1594 terenas->AI()->Talk(SAY_TERENAS_OUTRO_2);
1595 terenas->CastSpell((Unit*)nullptr, SPELL_MASS_RESURRECTION, false);
1597 {
1598 lichKing->SetImmuneToNPC(false);
1600 me->RemoveAllAuras();
1602 me->Attack(lichKing, true);
1603 me->GetMotionMaster()->MovePoint(0, 512.16f, -2120.25f, 840.86f);
1604 }
1607 }
1608 break;
1611 theLichKing->AI()->Talk(SAY_LK_OUTRO_7);
1612 break;
1615 theLichKing->AI()->Talk(SAY_LK_OUTRO_8);
1616 break;
1619 break;
1622 break;
1627 {
1628 me->SetFacingToObject(lichKing);
1630 }
1631 break;
1634 break;
1636 me->CastSpell((Unit*)nullptr, SPELL_JUMP, false);
1637 break;
1638
1639 default:
1640 break;
1641 }
1642
1644 }
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
@ EQUIP_UNEQUIP
Definition: CreatureAI.h:67
#define sCreatureTextMgr
Definition: CreatureTextMgr.h:119
@ TEXT_RANGE_NORMAL
Definition: CreatureTextMgr.h:30
@ REACT_AGGRESSIVE
Definition: Unit.h:550
@ UNIT_STATE_CASTING
Definition: UnitDefines.h:164
@ MOVE_WALK
Definition: UnitDefines.h:328
@ UNIT_VIRTUAL_ITEM_SLOT_ID
Definition: UpdateFields.h:116
@ TRIGGERED_IGNORE_CAST_IN_PROGRESS
Will ignore aura scaling.
Definition: SpellDefines.h:137
Position const TirionCharge
Definition: boss_the_lich_king.cpp:316
@ LIGHT_SOULSTORM
Definition: boss_the_lich_king.cpp:348
@ MUSIC_FINAL
Definition: boss_the_lich_king.cpp:353
@ SOUND_PAIN
Definition: boss_the_lich_king.cpp:354
@ EQUIP_ASHBRINGER_GLOWING
Definition: boss_the_lich_king.cpp:355
@ SPELL_JUMP
Definition: boss_the_lich_king.cpp:94
@ SPELL_EMOTE_QUESTION_NO_SHEATH
Definition: boss_the_lich_king.cpp:91
@ SPELL_MASS_RESURRECTION
Definition: boss_the_lich_king.cpp:104
@ SPELL_SOUL_BARRAGE
Definition: boss_the_lich_king.cpp:102
@ SPELL_SUMMON_BROKEN_FROSTMOURNE_3
Definition: boss_the_lich_king.cpp:99
@ SPELL_LIGHTS_BLESSING
Definition: boss_the_lich_king.cpp:93
@ SPELL_BROKEN_FROSTMOURNE
Definition: boss_the_lich_king.cpp:100
@ SPELL_RAISE_DEAD
Definition: boss_the_lich_king.cpp:92
@ SPELL_SUMMON_TERENAS
Definition: boss_the_lich_king.cpp:103
@ SPELL_EMOTE_SHOUT_NO_SHEATH
Definition: boss_the_lich_king.cpp:85
@ SPELL_FURY_OF_FROSTMOURNE_NO_REZ
Definition: boss_the_lich_king.cpp:90
Position const OutroPosition1
Definition: boss_the_lich_king.cpp:318
@ SAY_LK_OUTRO_2
Definition: boss_the_lich_king.cpp:53
@ SAY_LK_INTRO_2
Definition: boss_the_lich_king.cpp:40
@ SAY_LK_OUTRO_4
Definition: boss_the_lich_king.cpp:55
@ SAY_TIRION_OUTRO_1
Definition: boss_the_lich_king.cpp:64
@ SAY_LK_INTRO_3
Definition: boss_the_lich_king.cpp:41
@ SAY_TERENAS_OUTRO_2
Definition: boss_the_lich_king.cpp:70
@ SAY_LK_OUTRO_7
Definition: boss_the_lich_king.cpp:58
@ SAY_LK_OUTRO_1
Definition: boss_the_lich_king.cpp:52
@ SAY_LK_OUTRO_6
Definition: boss_the_lich_king.cpp:57
@ SAY_LK_OUTRO_5
Definition: boss_the_lich_king.cpp:56
@ SAY_TIRION_INTRO_2
Definition: boss_the_lich_king.cpp:63
@ SAY_LK_OUTRO_3
Definition: boss_the_lich_king.cpp:54
@ SAY_TIRION_INTRO_1
Definition: boss_the_lich_king.cpp:62
@ SAY_LK_OUTRO_8
Definition: boss_the_lich_king.cpp:59
@ SAY_TIRION_OUTRO_2
Definition: boss_the_lich_king.cpp:65
@ SAY_TERENAS_OUTRO_1
Definition: boss_the_lich_king.cpp:69
Position const CenterPosition
Definition: boss_the_lich_king.cpp:313
Position const OutroFlying
Definition: boss_the_lich_king.cpp:319
Position const LichKingIntro[3]
Definition: boss_the_lich_king.cpp:317
@ EVENT_INTRO_FORDRING_TALK_2
Definition: boss_the_lich_king.cpp:208
@ EVENT_OUTRO_TERENAS_TALK_1
Definition: boss_the_lich_king.cpp:236
@ EVENT_OUTRO_LK_TALK_7
Definition: boss_the_lich_king.cpp:224
@ EVENT_OUTRO_AFTER_SUMMON_BROKEN_FROSTMOURNE
Definition: boss_the_lich_king.cpp:231
@ EVENT_OUTRO_TERENAS_TALK_2
Definition: boss_the_lich_king.cpp:237
@ EVENT_INTRO_LK_CAST_FREEZE
Definition: boss_the_lich_king.cpp:206
@ EVENT_OUTRO_AFTER_SOUL_BARRAGE
Definition: boss_the_lich_king.cpp:234
@ EVENT_OUTRO_KNOCK_BACK
Definition: boss_the_lich_king.cpp:232
@ EVENT_INTRO_LK_EMOTE_CAST_SHOUT
Definition: boss_the_lich_king.cpp:204
@ EVENT_INTRO_LK_EMOTE_1
Definition: boss_the_lich_king.cpp:205
@ EVENT_OUTRO_LK_TALK_8
Definition: boss_the_lich_king.cpp:225
@ EVENT_INTRO_FINISH
Definition: boss_the_lich_king.cpp:211
@ EVENT_OUTRO_SUMMON_TERENAS
Definition: boss_the_lich_king.cpp:235
@ EVENT_INTRO_LK_TALK_1
Definition: boss_the_lich_king.cpp:203
@ EVENT_OUTRO_FORDRING_TALK_1
Definition: boss_the_lich_king.cpp:226
@ EVENT_INTRO_FORDRING_EMOTE_1
Definition: boss_the_lich_king.cpp:209
@ EVENT_INTRO_FORDRING_CHARGE
Definition: boss_the_lich_king.cpp:210
@ EVENT_OUTRO_FORDRING_BLESS
Definition: boss_the_lich_king.cpp:227
@ EVENT_INTRO_FORDRING_TALK_1
Definition: boss_the_lich_king.cpp:207
@ EVENT_OUTRO_LK_TALK_4
Definition: boss_the_lich_king.cpp:220
@ EVENT_OUTRO_FORDRING_MOVE_1
Definition: boss_the_lich_king.cpp:229
@ EVENT_OUTRO_LK_RAISE_DEAD
Definition: boss_the_lich_king.cpp:221
@ EVENT_OUTRO_FORDRING_REMOVE_ICE
Definition: boss_the_lich_king.cpp:228
@ EVENT_OUTRO_LK_TALK_5
Definition: boss_the_lich_king.cpp:222
@ NPC_FROSTMOURNE_TRIGGER
Definition: icecrown_citadel.h:371
@ NPC_TERENAS_MENETHIL_OUTRO
Definition: icecrown_citadel.h:372
Talk
Definition: hyjal.cpp:82
@ EMOTE_ONESHOT_POINT_NO_SHEATHE
Definition: SharedDefines.h:1992
@ EMOTE_ONESHOT_TALK_NO_SHEATHE
Definition: SharedDefines.h:1991
@ CHAT_MSG_MONSTER_YELL
Definition: SharedDefines.h:3166
@ TEAM_NEUTRAL
Definition: SharedDefines.h:762
@ WEATHER_STATE_BLACKSNOW
Definition: Weather.h:60
std::vector< Vector3 > PointsArray
Definition: MoveSplineInitArgs.h:28
Definition: LinkedList.h:139
uint32 ExecuteEvent()
Definition: EventMap.cpp:114
void Update(uint32 time)
Definition: EventMap.h:54
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:39
bool UpdateVictim()
Definition: CreatureAI.cpp:269
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2446
float GetPositionZ() const
Definition: Position.h:119
float GetPositionX() const
Definition: Position.h:117
float GetPositionY() const
Definition: Position.h:118
Definition: Player.h:1064
Definition: Unit.h:630
static void Kill(Unit *killer, Unit *victim, bool durabilityLoss=true, WeaponAttackType attackType=BASE_ATTACK, SpellInfo const *spellProto=nullptr, Spell const *spell=nullptr)
Definition: Unit.cpp:17658
void SetFacingToObject(WorldObject *object)
Definition: Unit.cpp:20493
bool Attack(Unit *victim, bool meleeAttack)
Definition: Unit.cpp:10234
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1168
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4891
bool HasUnitState(const uint32 f) const
Definition: Unit.h:673
void HandleEmoteCommand(uint32 emoteId)
Definition: Unit.cpp:1984
void SetZoneWeather(uint32 zoneId, WeatherState weatherId, float weatherGrade)
Definition: Map.cpp:3779
void SetZoneOverrideLight(uint32 zoneId, uint32 lightId, Milliseconds fadeInTime)
Definition: Map.cpp:3800
PlayerList const & GetPlayers() const
Definition: Map.h:486
Definition: MapRefMgr.h:26
iterator begin()
Definition: MapRefMgr.h:36
iterator end()
Definition: MapRefMgr.h:37

References _events, _instance, AREA_THE_FROZEN_THRONE, Unit::Attack(), MapRefMgr::begin(), Unit::CastSpell(), CenterPosition, CHAT_MSG_MONSTER_YELL, DATA_THE_LICH_KING, UnitAI::DoMeleeAttackIfReady(), EMOTE_ONESHOT_NONE, EMOTE_ONESHOT_POINT_NO_SHEATHE, EMOTE_ONESHOT_TALK_NO_SHEATHE, MapRefMgr::end(), EQUIP_ASHBRINGER, EQUIP_ASHBRINGER_GLOWING, EQUIP_UNEQUIP, EVENT_INTRO_FINISH, EVENT_INTRO_FORDRING_CHARGE, EVENT_INTRO_FORDRING_EMOTE_1, EVENT_INTRO_FORDRING_TALK_1, EVENT_INTRO_FORDRING_TALK_2, EVENT_INTRO_LK_CAST_FREEZE, EVENT_INTRO_LK_EMOTE_1, EVENT_INTRO_LK_EMOTE_CAST_SHOUT, EVENT_INTRO_LK_MOVE, EVENT_INTRO_LK_TALK_1, EVENT_OUTRO_AFTER_SOUL_BARRAGE, EVENT_OUTRO_AFTER_SUMMON_BROKEN_FROSTMOURNE, EVENT_OUTRO_FORDRING_BLESS, EVENT_OUTRO_FORDRING_JUMP, EVENT_OUTRO_FORDRING_MOVE_1, EVENT_OUTRO_FORDRING_REMOVE_ICE, EVENT_OUTRO_FORDRING_TALK_1, EVENT_OUTRO_KNOCK_BACK, EVENT_OUTRO_LK_EMOTE_TALK, EVENT_OUTRO_LK_MOVE_CENTER, EVENT_OUTRO_LK_RAISE_DEAD, EVENT_OUTRO_LK_TALK_1, EVENT_OUTRO_LK_TALK_2, EVENT_OUTRO_LK_TALK_3, EVENT_OUTRO_LK_TALK_4, EVENT_OUTRO_LK_TALK_5, EVENT_OUTRO_LK_TALK_6, EVENT_OUTRO_LK_TALK_7, EVENT_OUTRO_LK_TALK_8, EVENT_OUTRO_SOUL_BARRAGE, EVENT_OUTRO_SUMMON_TERENAS, EVENT_OUTRO_TERENAS_TALK_1, EVENT_OUTRO_TERENAS_TALK_2, EventMap::ExecuteEvent(), WorldObject::FindNearestCreature(), ObjectAccessor::GetCreature(), InstanceScript::GetGuidData(), WorldObject::GetMap(), Unit::GetMotionMaster(), Map::GetPlayers(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Unit::HandleEmoteCommand(), Unit::HasUnitState(), Unit::Kill(), LichKingIntro, LIGHT_SOULSTORM, ScriptedAI::me, MOVE_WALK, MotionMaster::MovePoint(), MUSIC_FINAL, NPC_FROSTMOURNE_TRIGGER, NPC_TERENAS_MENETHIL_OUTRO, OutroFlying, OutroPosition1, POINT_TIRION_OUTRO, REACT_AGGRESSIVE, Unit::RemoveAllAuras(), Unit::RemoveAurasDueToSpell(), SAY_LK_INTRO_2, SAY_LK_INTRO_3, SAY_LK_OUTRO_1, SAY_LK_OUTRO_2, SAY_LK_OUTRO_3, SAY_LK_OUTRO_4, SAY_LK_OUTRO_5, SAY_LK_OUTRO_6, SAY_LK_OUTRO_7, SAY_LK_OUTRO_8, SAY_TERENAS_OUTRO_1, SAY_TERENAS_OUTRO_2, SAY_TIRION_INTRO_1, SAY_TIRION_INTRO_2, SAY_TIRION_OUTRO_1, SAY_TIRION_OUTRO_2, EventMap::ScheduleEvent(), sCreatureTextMgr, ScriptedAI::SetEquipmentSlots(), Unit::SetFacingToObject(), Unit::SetUInt32Value(), Creature::SetWalk(), Map::SetZoneMusic(), Map::SetZoneOverrideLight(), Map::SetZoneWeather(), SOUND_PAIN, SPELL_BROKEN_FROSTMOURNE, SPELL_BROKEN_FROSTMOURNE_KNOCK, SPELL_EMOTE_QUESTION_NO_SHEATH, SPELL_EMOTE_SHOUT_NO_SHEATH, SPELL_FURY_OF_FROSTMOURNE_NO_REZ, SPELL_ICE_LOCK, SPELL_JUMP, SPELL_LIGHTS_BLESSING, SPELL_MASS_RESURRECTION, SPELL_RAISE_DEAD, SPELL_SOUL_BARRAGE, SPELL_SUMMON_BROKEN_FROSTMOURNE_3, SPELL_SUMMON_TERENAS, TEAM_NEUTRAL, TEXT_RANGE_NORMAL, TirionCharge, TRIGGERED_IGNORE_CAST_IN_PROGRESS, UNIT_NPC_EMOTESTATE, UNIT_STATE_CASTING, UNIT_VIRTUAL_ITEM_SLOT_ID, EventMap::Update(), CreatureAI::UpdateVictim(), and WEATHER_STATE_BLACKSNOW.

Member Data Documentation

◆ _events

EventMap npc_tirion_fordring_tft::npc_tirion_fordringAI::_events
private

◆ _instance

InstanceScript* npc_tirion_fordring_tft::npc_tirion_fordringAI::_instance
private