624 switch (currentPhase)
656 for (
uint8 i = 0; i < 2; i++)
683 std::unordered_map<ObjectGuid, bool>::iterator i =
Stomach_Map.begin();
692 if (unit && i->second ==
true)
715 std::unordered_map<ObjectGuid, bool>::iterator i =
Stomach_Map.begin();
723 if (unit && i->second ==
true)
756 target->InterruptNonMeleeSpells(
false);
829 for (
uint8 i = 0; i < 2; i++)
uint32 EyeTentacleTimer
Definition: boss_cthun.cpp:505
Definition: boss_cthun.cpp:97
#define STOMACH_X
Definition: boss_cthun.cpp:134
Definition: temple_of_ahnqiraj.h:38
static ObjectGuid const Empty
Definition: ObjectGuid.h:196
bool UpdateVictim()
Definition: CreatureAI.cpp:233
void PlayDirectSound(uint32 sound_id, Player *target=NULL)
Definition: Object.cpp:2966
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:163
Map * GetMap() const
Definition: Object.h:543
Definition: temple_of_ahnqiraj.h:51
Definition: boss_cthun.cpp:72
const Position FleshTentaclePos[2]
Definition: boss_cthun.cpp:140
virtual uint32 GetData(uint32) const
Definition: ZoneScript.h:51
void DoZoneInCombat(Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
Definition: CreatureAI.cpp:47
arena_t NULL
Definition: jemalloc_internal.h:624
ThreatContainer::StorageType const & getThreatList() const
Definition: ThreatManager.h:263
Definition: boss_cthun.cpp:113
uint32 StomachAcidTimer
Definition: boss_cthun.cpp:509
Definition: boss_cthun.cpp:70
Definition: Creature.h:467
uint32 WisperTimer
Definition: boss_cthun.cpp:494
iterator begin()
Definition: MapRefManager.h:37
Definition: boss_cthun.cpp:96
#define STOMACH_Z
Definition: boss_cthun.cpp:136
Creature *const me
Definition: CreatureAI.h:71
Definition: temple_of_ahnqiraj.h:52
ObjectGuid StomachEnterTarget
Definition: boss_cthun.cpp:512
Definition: boss_cthun.cpp:130
Definition: temple_of_ahnqiraj.h:50
Definition: boss_cthun.cpp:71
float GetPositionY() const
Definition: Position.h:105
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
Definition: boss_cthun.cpp:125
CreatureAI * AI() const
Definition: Creature.h:525
void SetVisible(bool x)
Definition: Unit.cpp:10368
float GetPositionZ() const
Definition: Position.h:106
uint32_t uint32
Definition: Define.h:150
#define STOMACH_Y
Definition: boss_cthun.cpp:135
Definition: LinkedList.h:141
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
Unit * SelectRandomNotStomach()
Definition: boss_cthun.cpp:545
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
void DoTeleportPlayer(Unit *unit, float x, float y, float z, float o)
Definition: ScriptedCreature.cpp:292
uint32 GiantClawTentacleTimer
Definition: boss_cthun.cpp:507
bool IsWithinDist3d(float x, float y, float z, float dist) const
Definition: Object.cpp:1638
const Position KickPos
Definition: boss_cthun.cpp:147
void Clear()
Definition: ObjectGuid.h:215
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
ObjectGuid const & GetGUID() const
Definition: Object.h:105
uint32 StomachEnterTimer
Definition: boss_cthun.cpp:510
Definition: MapRefManager.h:26
InstanceScript * instance
Definition: boss_cthun.cpp:491
Definition: boss_cthun.cpp:114
Definition: UpdateFields.h:109
Definition: boss_cthun.cpp:112
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
Definition: Unit.cpp:2916
ThreatManager & getThreatManager()
Definition: Unit.h:1998
uint32 rand32()
Definition: Random.cpp:64
uint8_t uint8
Definition: Define.h:152
uint32 GiantEyeTentacleTimer
Definition: boss_cthun.cpp:508
uint32 PhaseTimer
Definition: boss_cthun.cpp:497
void SpawnEyeTentacle(float x, float y)
Definition: boss_cthun.cpp:537
uint32 StomachEnterVisTimer
Definition: boss_cthun.cpp:511
void SetFullHealth()
Definition: Unit.h:1440
std::unordered_map< ObjectGuid, bool > Stomach_Map
Definition: boss_cthun.cpp:515
float GetPositionX() const
Definition: Position.h:104
virtual void AttackStart(Unit *)
Definition: UnitAI.cpp:29
#define STOMACH_O
Definition: boss_cthun.cpp:137
void SetTarget(ObjectGuid const &guid) override
Definition: Creature.cpp:2675
bool IsEmpty() const
Definition: ObjectGuid.h:242
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
uint8 FleshTentaclesKilled
Definition: boss_cthun.cpp:506