121 {-30.127f, -254.463f, -89.440f, 0.0f},
122 {-30.817f, -177.106f, -89.258f, 0.0f},
124 {-145.950f, -212.831f, -68.659f, 0.0f}
272 if (((spellInfo->
Id >= 17086 && spellInfo->
Id <= 17095) ||
273 (spellInfo->
Id == 17097) ||
274 (spellInfo->
Id >= 18351 && spellInfo->
Id <= 18361) ||
275 (spellInfo->
Id >= 18564 && spellInfo->
Id <= 18576) ||
276 (spellInfo->
Id >= 18578 && spellInfo->
Id <= 18607) ||
277 (spellInfo->
Id == 18609) ||
278 (spellInfo->
Id >= 18611 && spellInfo->
Id <= 18628) ||
279 (spellInfo->
Id >= 21132 && spellInfo->
Id <= 21133) ||
280 (spellInfo->
Id >= 21135 && spellInfo->
Id <= 21139) ||
281 (spellInfo->
Id >= 22191 && spellInfo->
Id <= 22202) ||
282 (spellInfo->
Id >= 22267 && spellInfo->
Id <= 22268)) &&
293 for (
uint8 i = 0; i < MaxCount; ++i)
@ ACHIEVEMENT_TIMED_TYPE_EVENT
@ TEMPSUMMON_CORPSE_DESPAWN
uint32 urand(uint32 min, uint32 max)
Position const Phase2Floating
@ SPELL_BREATH_SOUTH_TO_NORTH
@ SPELL_BREATH_NORTH_TO_SOUTH
@ SPELL_BREATH_WEST_TO_EAST
@ SPELL_BREATH_EAST_TO_WEST
static OnyxMove MoveData[8]
Position const MiddleRoomLocation
Position const Phase2Location
Position const SpawnLocations[3]
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void DoZoneInCombat(Creature *creature=nullptr)
void GetHomePosition(float &x, float &y, float &z, float &ori) const
void SetReactState(ReactStates st)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void DoStartTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry)
void DoStopTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry)
void MoveChase(Unit *target, Optional< ChaseRange > dist={}, Optional< ChaseAngle > angle={})
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={})
void MoveTakeoff(uint32 id, Position const &pos, Optional< float > velocity={})
static ObjectGuid GetGUID(Object const *o)
void Summon(Creature const *summon)
void DoMeleeAttackIfReady()
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
virtual void AttackStart(Unit *)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
MotionMaster * GetMotionMaster()
bool IsNonMeleeSpellCast(bool withDelayed, bool skipChanneled=false, bool skipAutorepeat=false, bool isAutoshoot=false, bool skipInstant=true) const
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
void SetFacingToObject(WorldObject const *object, bool force=true, uint32 movementId=EVENT_FACE)
bool SetCanFly(bool enable, bool packetOnly=false)
void SetSpeedRate(UnitMoveType mtype, float rate)
bool HasUnitState(const uint32 f) const
void SetFacingTo(float ori, bool force=true, uint32 movementId=EVENT_FACE)
static void Kill(Unit *attacker, Unit *victim, bool durabilityLoss=true)
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)
void setActive(bool isActiveObject)
void SetFarVisible(bool on)
virtual void SetData(uint32, uint32)
virtual void SetGuidData(uint32, ObjectGuid)
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
@ DATA_SHE_DEEP_BREATH_MORE
#define RegisterOnyxiasLairCreatureAI(ai_name)
@ DATA_FLOOR_ERUPTION_GUID
@ ACHIEV_TIMED_START_EVENT
static void VisitGridObjects(WorldObject const *obj, T &visitor, float radius, bool dont_load=true)
float GetPositionZ() const
float GetOrientation() const
float GetPositionX() const
float GetPositionY() const
void SetCombatMovement(bool allowMovement)
bool IsCombatMovementAllowed() const
T const & RAID_MODE(T const &normal10, T const &normal25) const
bool HealthBelowPct(uint32 pct) const
void MovementInform(uint32 type, uint32 id) override
void JustEngagedWith(Unit *who) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override
boss_onyxia(Creature *creature)
void SpellHitTarget(WorldObject *target, SpellInfo const *spellInfo) override
void SetNextRandomPoint()
void KilledUnit(Unit *) override
void UpdateAI(uint32 diff) override
void JustSummoned(Creature *summoned) override