467 for (
uint8 i = 1; i <= count; i++)
486 std::map<ObjectGuid, float>::iterator itr;
491 if (!player->IsCharmed())
493 player->SetObjectScale(itr->second);
494 std::map<ObjectGuid, float>::iterator
next = itr;
503 switch (player->getClass())
563 std::vector<Unit*> unitList;
565 for (ThreatContainer::StorageType::const_iterator itr = threatList.begin(); itr != threatList.end(); ++itr)
567 Unit*
const target = (*itr)->getTarget();
573 unitList.push_back(target);
577 if (!unitList.empty())
579 std::vector<Unit*>::const_iterator itr = unitList.begin();
SummonList spawns
Definition: boss_kelthuzad.cpp:293
Definition: boss_kelthuzad.cpp:39
Definition: SharedDefines.h:170
Definition: boss_kelthuzad.cpp:61
Definition: boss_kelthuzad.cpp:85
Definition: boss_kelthuzad.cpp:113
Definition: boss_kelthuzad.cpp:103
Definition: boss_kelthuzad.cpp:67
void DoCastAOE(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:167
Definition: boss_kelthuzad.cpp:136
Definition: GameObject.h:871
bool UpdateVictim()
Definition: CreatureAI.cpp:233
Definition: SharedDefines.h:172
void DespawnAll()
Definition: ScriptedCreature.cpp:66
Definition: boss_kelthuzad.cpp:110
void SetPhase(uint8 phase)
Definition: EventMap.cpp:27
Definition: boss_kelthuzad.cpp:115
void Reset()
Definition: EventMap.cpp:20
Definition: boss_kelthuzad.cpp:101
Definition: boss_kelthuzad.cpp:73
int next(int i, int n)
Definition: RecastContour.cpp:469
Definition: boss_kelthuzad.cpp:128
Definition: boss_kelthuzad.cpp:64
Definition: boss_kelthuzad.cpp:116
Definition: boss_kelthuzad.cpp:60
Definition: boss_kelthuzad.cpp:109
ThreatContainer::StorageType const & getThreatList() const
Definition: ThreatManager.h:263
Definition: boss_kelthuzad.cpp:94
Definition: Creature.h:467
void CastStop(uint32 except_spellid=0)
Definition: Unit.cpp:862
Definition: boss_kelthuzad.cpp:254
int32 GetPower(Powers power) const
Definition: Unit.cpp:11589
Definition: boss_kelthuzad.cpp:79
bool IsInPhase(uint8 phase) const
Definition: EventMap.h:290
static First const & RAND(First const &first, Second const &second, Rest const &...rest)
Definition: CreatureAIImpl.h:30
Definition: boss_kelthuzad.cpp:97
Definition: SharedDefines.h:168
void advance(octet_iterator &it, distance_type n, octet_iterator end)
Definition: checked.h:190
Definition: boss_kelthuzad.cpp:57
Definition: boss_kelthuzad.cpp:106
Definition: SharedDefines.h:167
Difficulty GetDifficulty() const
Definition: ScriptedCreature.h:271
Creature *const me
Definition: CreatureAI.h:71
Powers getPowerType() const
Definition: Unit.h:1444
TypeID GetTypeId() const
Definition: Object.h:113
Definition: SharedDefines.h:171
Definition: boss_kelthuzad.cpp:46
virtual ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
Definition: boss_kelthuzad.cpp:58
Definition: boss_kelthuzad.cpp:118
Definition: boss_kelthuzad.cpp:98
Definition: boss_kelthuzad.cpp:100
Unit * GetVictim() const
Definition: Unit.h:1379
Definition: boss_kelthuzad.cpp:80
TC_GAME_API Player * GetPlayer(Map const *, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:184
Creature * DoSummon(uint32 entry, Position const &pos, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
Definition: CreatureAI.cpp:377
Definition: boss_kelthuzad.cpp:107
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
Definition: boss_kelthuzad.cpp:59
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
Definition: boss_kelthuzad.cpp:135
uint32_t uint32
Definition: Define.h:150
Definition: boss_kelthuzad.cpp:41
Definition: boss_kelthuzad.cpp:137
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
Definition: SharedDefines.h:173
Definition: DBCEnums.h:408
Definition: GameObject.h:880
uint8 nGuardiansOfIcecrownCount
Definition: boss_kelthuzad.cpp:287
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
void Repeat(Milliseconds const &time)
Definition: EventMap.h:170
Definition: boss_kelthuzad.cpp:104
Definition: boss_kelthuzad.cpp:56
Definition: boss_kelthuzad.cpp:63
void ScheduleEvent(uint32 eventId, Milliseconds const &time, uint32 group=0, uint8 phase=0)
Definition: EventMap.h:123
Definition: boss_kelthuzad.cpp:38
Definition: boss_kelthuzad.cpp:119
Definition: SharedDefines.h:174
Definition: UpdateFields.h:116
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
Definition: boss_kelthuzad.cpp:69
void Update(uint32 time)
Definition: EventMap.h:54
Definition: boss_kelthuzad.cpp:78
const T & RAID_MODE(const T &normal10, const T &normal25) const
Definition: ScriptedCreature.h:293
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
ObjectGuid const & GetGUID() const
Definition: Object.h:105
Definition: ObjectGuid.h:33
std::list< HostileReference * > StorageType
Definition: ThreatManager.h:149
Definition: UpdateFields.h:109
Definition: boss_kelthuzad.cpp:95
Definition: boss_kelthuzad.cpp:112
virtual void SetObjectScale(float scale)
Definition: Object.h:111
Definition: boss_kelthuzad.cpp:72
Definition: SharedDefines.h:169
uint8 nWeaver
Definition: boss_kelthuzad.cpp:289
Definition: boss_kelthuzad.cpp:55
Definition: boss_kelthuzad.cpp:91
uint32 ExecuteEvent()
Definition: EventMap.cpp:46
ThreatManager & getThreatManager()
Definition: Unit.h:1998
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:143
Definition: boss_kelthuzad.cpp:129
uint32 rand32()
Definition: Random.cpp:64
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1395
uint8_t uint8
Definition: Define.h:152
Definition: naxxramas.h:84
std::map< ObjectGuid, float > chained
Definition: boss_kelthuzad.cpp:291
EventMap events
Definition: ScriptedCreature.h:371
Definition: boss_kelthuzad.cpp:84
void DoStartMovement(Unit *target, float distance=0.0f, float angle=0.0f)
Definition: ScriptedCreature.cpp:134
Definition: boss_kelthuzad.cpp:43
Definition: boss_kelthuzad.cpp:92
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
Definition: boss_kelthuzad.cpp:65
Definition: SharedDefines.h:175
Definition: SharedDefines.h:177
Definition: boss_kelthuzad.cpp:138
Pos
Definition: boss_gothik.cpp:115
Definition: boss_kelthuzad.cpp:82
float GetObjectScale() const
Definition: Object.h:110
Definition: boss_kelthuzad.cpp:35
bool IsCharmed() const
Definition: Unit.h:1742
InstanceScript *const instance
Definition: ScriptedCreature.h:340
Definition: naxxramas.h:83
Definition: SharedDefines.h:248
uint8 nAbomination
Definition: boss_kelthuzad.cpp:288