100 temp->AI()->DoZoneInCombat();
122 floorEruption->SendCustomAnim(floorEruption->GetGoAnimProgress());
125 floorEruption->CastSpell(floorEruption, floorEruption->GetGOInfo()->trap.spell, args);
128 std::list<GameObject*> nearFloorList;
133 for (std::list<GameObject*>::const_iterator itr = nearFloorList.begin(); itr != nearFloorList.end(); ++itr)
135 if (((*itr)->GetGOInfo()->displayId == 4392 || (*itr)->GetGOInfo()->displayId == 4472) && (*itr)->GetGOInfo()->trap.spell == 17731)
181 else if (data ==
FAIL)
229 std::map<ObjectGuid, uint32>::iterator itr =
FloorEruptionGUID[1].find(frontGuid);
232 uint32 treeHeight = itr->second;
@ TEMPSUMMON_CORPSE_DESPAWN
uint32 const EncounterCount
GameObjectTemplate const * GetGOInfo() const
void SetBossNumber(uint32 number)
virtual bool SetBossState(uint32 id, EncounterState state)
void LoadDungeonEncounterData(T const &encounters)
EncounterState GetBossState(uint32 id) const
void LoadBossBoundaries(BossBoundaryData const &data)
void SetHeaders(std::string const &dataHeaders)
GameObject * GetGameObject(ObjectGuid const &guid)
static ObjectGuid const Empty
static ObjectGuid GetGUID(Object const *o)
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
InstanceScript * GetInstanceScript(InstanceMap *map) const override
void AddSC_instance_onyxias_lair()
BossBoundaryData const boundaries
DungeonEncounterData const encounters[]
@ DATA_SHE_DEEP_BREATH_MORE
@ DATA_FLOOR_ERUPTION_GUID
@ ACHIEV_CRITERIA_MANY_WHELPS_10_PLAYER
@ ACHIEV_CRITERIA_DEEP_BREATH_25_PLAYER
@ ACHIEV_CRITERIA_DEEP_BREATH_10_PLAYER
@ ACHIEV_CRITERIA_MANY_WHELPS_25_PLAYER
static void VisitGridObjects(WorldObject const *obj, T &visitor, float radius, bool dont_load=true)
struct GameObjectTemplate::@203::@211 trap
constexpr void GetPosition(float &x, float &y) const
bool achievSheDeepBreathMore
void OnGameObjectCreate(GameObject *go) override
bool SetBossState(uint32 type, EncounterState state) override
void SetData(uint32 type, uint32 data) override
std::queue< ObjectGuid > FloorEruptionGUIDQueue
void SetGuidData(uint32 type, ObjectGuid data) override
void Update(uint32 diff) override
instance_onyxias_lair_InstanceMapScript(InstanceMap *map)
std::map< ObjectGuid, uint32 > FloorEruptionGUID[2]
bool achievManyWhelpsHandleIt
ObjectGuid GetGuidData(uint32 data) const override
bool CheckAchievementCriteriaMeet(uint32 criteriaId, Player const *, Unit const *, uint32) override
void OnCreatureCreate(Creature *creature) override
void OnGameObjectRemove(GameObject *go) override
void FloorEruption(ObjectGuid floorEruptedGUID)
uint32 onyxiaLiftoffTimer