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}
271 if (((spellInfo->
Id >= 17086 && spellInfo->
Id <= 17095) ||
272 (spellInfo->
Id == 17097) ||
273 (spellInfo->
Id >= 18351 && spellInfo->
Id <= 18361) ||
274 (spellInfo->
Id >= 18564 && spellInfo->
Id <= 18576) ||
275 (spellInfo->
Id >= 18578 && spellInfo->
Id <= 18607) ||
276 (spellInfo->
Id == 18609) ||
277 (spellInfo->
Id >= 18611 && spellInfo->
Id <= 18628) ||
278 (spellInfo->
Id >= 21132 && spellInfo->
Id <= 21133) ||
279 (spellInfo->
Id >= 21135 && spellInfo->
Id <= 21139) ||
280 (spellInfo->
Id >= 22191 && spellInfo->
Id <= 22202) ||
281 (spellInfo->
Id >= 22267 && spellInfo->
Id <= 22268)) &&
292 for (
uint8 i = 0; i < MaxCount; ++i)
@ 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 Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void AttackStart(Unit *victim) override
== Triggered Actions Requested ==================
void SetCanMelee(bool canMelee, bool fleeFromMelee=false)
void GetHomePosition(float &x, float &y, float &z, float &ori) const
void SetReactState(ReactStates st)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void TriggerGameEvent(uint32 gameEventId, WorldObject *source=nullptr, WorldObject *target=nullptr) override
void MoveChase(Unit *target, Optional< ChaseRange > dist={}, Optional< ChaseAngle > angle={})
void MoveTakeoff(uint32 id, Position const &pos, Optional< int32 > tierTransitionId={}, Optional< float > velocity={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
static ObjectGuid GetGUID(Object const *o)
void Summon(Creature const *summon)
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)
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
void SetFacingToObject(WorldObject const *object, bool force=true)
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
bool SetCanFly(bool enable)
void SetSpeedRate(UnitMoveType mtype, float rate)
void SetFacingTo(float const ori, bool force=true)
bool HasUnitState(const uint32 f) const
static void Kill(Unit *attacker, Unit *victim, bool durabilityLoss=true, bool skipSettingDeathState=false)
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)
constexpr float GetPositionX() const
constexpr float GetPositionY() const
constexpr float GetOrientation() const
constexpr float GetPositionZ() const
void SetCombatMovement(bool allowMovement)
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