985 float fLichPositionX = 0,
995 if (fLichPositionX && fLichPositionY)
1317 temp->DespawnOrUnsummon();
1319 temp->DespawnOrUnsummon();
1321 temp->DespawnOrUnsummon();
1323 temp->DespawnOrUnsummon();
uint32 uiFight_duration
Definition: chapter5.cpp:315
Definition: SharedDefines.h:2488
bool AttackStop()
Definition: Unit.cpp:7337
Definition: chapter5.cpp:59
Definition: chapter5.cpp:106
Position GetPositionWithOffset(Position const &offset) const
Definition: Position.cpp:56
Definition: chapter5.cpp:127
Definition: chapter5.cpp:97
void DespawnOrUnsummon(uint32 msTimeToDespawn=0)
Definition: Creature.cpp:1774
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
Definition: Unit.cpp:4240
void RemoveAllAuras()
Definition: Unit.cpp:3920
Definition: chapter5.cpp:105
GameObject * SummonGameObject(uint32 entry, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime)
Definition: Object.cpp:2372
Definition: chapter5.cpp:72
Definition: chapter5.cpp:63
Definition: chapter5.cpp:133
Definition: chapter5.cpp:91
Definition: UpdateFields.h:136
void SetVirtualItem(uint32 slot, uint32 itemId, uint16 appearanceModId=0)
Definition: Unit.cpp:16427
Definition: chapter5.cpp:174
ObjectGuid uiAlexandrosGUID
Definition: chapter5.cpp:332
Definition: chapter5.cpp:62
void KillSelf(bool durabilityLoss=true)
Definition: Unit.h:1515
ObjectGuid uiTirionGUID
Definition: chapter5.cpp:331
Definition: chapter5.cpp:184
Definition: chapter5.cpp:66
Map * GetMap() const
Definition: Object.h:543
ObjectGuid uiBehemothGUID[ENCOUNTER_BEHEMOTH_NUMBER]
Definition: chapter5.cpp:347
Definition: chapter5.cpp:76
Definition: chapter5.cpp:87
uint32 getFaction() const
Definition: Unit.h:1466
Definition: chapter5.cpp:81
Definition: chapter5.cpp:36
Definition: chapter5.cpp:136
TC_GAME_API Creature * GetClosestCreatureWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool alive)
Definition: ScriptedCreature.cpp:611
void NPCChangeTarget(ObjectGuid ui_GUID)
Definition: chapter5.cpp:1511
Definition: chapter5.cpp:141
Definition: chapter5.cpp:35
uint32 uiDeath_embrace
Definition: chapter5.cpp:323
Definition: chapter5.cpp:177
ObjectGuid uiRayneGUID
Definition: chapter5.cpp:337
Definition: chapter5.cpp:134
ObjectGuid uiGhoulGUID[ENCOUNTER_GHOUL_NUMBER]
Definition: chapter5.cpp:348
Definition: chapter5.cpp:100
Definition: chapter5.cpp:67
Definition: chapter5.cpp:155
Definition: chapter5.cpp:69
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
ObjectGuid uiAbominationGUID[ENCOUNTER_ABOMINATION_NUMBER]
Definition: chapter5.cpp:346
Definition: chapter5.cpp:101
Definition: chapter5.cpp:104
void SetHoldState(bool bOnHold)
Definition: chapter5.cpp:479
void SetUInt32Value(uint16 index, uint32 value)
Definition: Object.cpp:996
Definition: chapter5.cpp:78
Definition: chapter5.cpp:77
Definition: chapter5.cpp:68
ObjectGuid uiKorfaxGUID
Definition: chapter5.cpp:334
Position const LightofDawnLoc[]
Definition: chapter5.cpp:234
Definition: chapter5.cpp:145
uint32 uiFight_speech
Definition: chapter5.cpp:326
ObjectGuid uiKoltiraGUID
Definition: chapter5.cpp:342
Definition: Creature.h:467
Definition: chapter5.cpp:111
Definition: chapter5.cpp:103
virtual void Talk(std::string const &text, ChatMsg msgType, Language language, float textRange, WorldObject const *target)
Definition: Unit.cpp:16385
Definition: chapter5.cpp:99
ObjectGuid uiThassarianGUID
Definition: chapter5.cpp:344
ObjectGuid uiWarriorGUID[ENCOUNTER_WARRIOR_NUMBER]
Definition: chapter5.cpp:349
void SetFlag(uint16 index, uint32 newFlag)
Definition: Object.cpp:1199
iterator begin()
Definition: MapRefManager.h:37
Definition: chapter5.cpp:180
Definition: chapter5.cpp:83
Definition: chapter5.cpp:82
Definition: chapter5.cpp:93
Definition: chapter5.cpp:89
Definition: SharedDefines.h:2456
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true) const
Definition: Object.cpp:1663
Definition: chapter5.cpp:90
ObjectGuid uiDarionGUID
Definition: chapter5.cpp:333
Definition: chapter5.cpp:88
Definition: chapter5.cpp:74
Definition: chapter5.cpp:31
Definition: chapter5.cpp:118
void setFaction(uint32 faction)
Definition: Unit.h:1467
uint32 uiSpawncheck
Definition: chapter5.cpp:327
Definition: chapter5.cpp:188
Definition: chapter5.cpp:124
uint32 uiAnti_magic_zone
Definition: chapter5.cpp:321
Creature *const me
Definition: CreatureAI.h:71
ObjectGuid uiOrbazGUID
Definition: chapter5.cpp:343
void MovePoint(uint32 id, Position const &pos, bool generatePath=true)
Definition: MotionMaster.h:172
Definition: chapter5.cpp:84
ObjectGuid uiDefenderGUID[ENCOUNTER_DEFENDER_NUMBER]
Definition: chapter5.cpp:338
uint32 uiStep
Definition: chapter5.cpp:313
Definition: chapter5.cpp:137
Definition: SharedDefines.h:2550
Definition: chapter5.cpp:132
Definition: chapter5.cpp:32
Definition: chapter5.cpp:115
uint32 uiUnholy_blight
Definition: chapter5.cpp:325
void UpdateAI(uint32 diff) override
Definition: ScriptedEscortAI.cpp:227
uint32 uiTargetcheck
Definition: chapter5.cpp:328
float GetPositionY() const
Definition: Position.h:105
Definition: chapter5.cpp:138
uint32 uiDeath_strike
Definition: chapter5.cpp:322
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
Definition: chapter5.cpp:86
Definition: chapter5.cpp:128
Definition: chapter5.cpp:158
void SetVisible(bool x)
Definition: Unit.cpp:10368
float GetPositionZ() const
Definition: Position.h:106
Definition: chapter5.cpp:159
Definition: chapter5.cpp:95
Definition: chapter5.cpp:79
Definition: chapter5.cpp:122
Definition: LinkedList.h:141
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
void JumpToNextStep(uint32 uiTimer)
Definition: chapter5.cpp:1505
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
bool isEmpty() const
Definition: LinkedList.h:102
void DespawnNPC(ObjectGuid pGUID)
Definition: chapter5.cpp:1630
ObjectGuid uiEligorGUID
Definition: chapter5.cpp:336
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
Definition: chapter5.cpp:185
Definition: chapter5.cpp:209
Definition: chapter5.cpp:140
Definition: chapter5.cpp:51
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
PlayerList const & GetPlayers() const
Definition: Map.h:433
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:3586
Definition: chapter5.cpp:80
uint32 uiIcy_touch
Definition: chapter5.cpp:324
Definition: chapter5.cpp:73
Definition: chapter5.cpp:58
ObjectGuid const & GetGUID() const
Definition: Object.h:105
Definition: SharedDefines.h:2425
void SpawnNPC()
Definition: chapter5.cpp:1527
Definition: MapRefManager.h:26
virtual void setDeathState(DeathState s)
Definition: Unit.cpp:10593
void DeleteThreatList()
Definition: Unit.cpp:10700
Definition: UpdateFields.h:109
Definition: chapter5.cpp:64
Definition: chapter5.cpp:179
Definition: chapter5.cpp:146
Definition: chapter5.cpp:123
ObjectGuid uiEarthshatterGUID[ENCOUNTER_EARTHSHATTER_NUMBER]
Definition: chapter5.cpp:339
Definition: chapter5.cpp:75
ObjectGuid uiMaxwellGUID
Definition: chapter5.cpp:335
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
Definition: Unit.cpp:2916
Definition: chapter5.cpp:187
Definition: chapter5.cpp:96
uint32 uiSummon_counter
Definition: chapter5.cpp:318
Definition: chapter5.cpp:113
bool SetWalk(bool enable)
Definition: Unit.cpp:15800
uint32 rand32()
Definition: Random.cpp:64
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
void SetStandState(UnitStandStateType state, uint32 animKitID=0)
Definition: Unit.cpp:12772
uint8_t uint8
Definition: Define.h:152
Definition: chapter5.cpp:119
bool bIsBattle
Definition: chapter5.cpp:312
ObjectGuid uiLichKingGUID
Definition: chapter5.cpp:345
Definition: chapter5.cpp:114
void HandleEmoteCommand(uint32 anim_id)
Definition: Unit.cpp:1444
Definition: UpdateFields.h:135
void SetSpeed(UnitMoveType mtype, float rate, bool forced=false)
Definition: Unit.cpp:10531
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
Definition: chapter5.cpp:102
Definition: chapter5.cpp:57
Definition: chapter5.cpp:169
Definition: chapter5.cpp:33
uint32_t uint32
Definition: g3dmath.h:168
Definition: chapter5.cpp:117
float GetPositionX() const
Definition: Position.h:104
Definition: chapter5.cpp:157
Definition: chapter5.cpp:116
void UpdateWorldState(Map *map, uint32 id, uint32 state)
Definition: chapter5.cpp:220
uint32 uiPhase_timer
Definition: chapter5.cpp:314
void CombatStop(bool includingCast=false)
Definition: Unit.cpp:7371
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869
Definition: chapter5.cpp:98
Definition: SharedDefines.h:2412
Definition: chapter5.cpp:85
Definition: chapter5.cpp:135
Definition: chapter5.cpp:92
Definition: chapter5.cpp:70
Definition: chapter5.cpp:147
iterator end()
Definition: MapRefManager.h:38
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
Definition: Object.cpp:2346
Definition: chapter5.cpp:52
Definition: chapter5.cpp:164
Definition: chapter5.cpp:34
Definition: chapter5.cpp:139
Definition: chapter5.cpp:215
Definition: chapter5.cpp:120
Definition: CreatureAI.h:64
Definition: chapter5.cpp:94