106 {-30.127f, -254.463f, -89.440f, 0.0f},
107 {-30.817f, -177.106f, -89.258f, 0.0f},
109 {-145.950f, -212.831f, -68.659f, 0.0f}
147 me->SetInCombatWithZone();
171 summoned->SetInCombatWithZone();
173 summoned->AI()->AttackStart(target);
175 switch (summoned->GetEntry())
181 summoned->setActive(
true);
229 me->GetMotionMaster()->MoveChase(
me->GetVictim());
245 me->GetMotionMaster()->Clear(
false);
246 me->GetMotionMaster()->MoveIdle();
258 if (((
Spell->Id >= 17086 &&
Spell->Id <= 17095) ||
259 (
Spell->Id == 17097) ||
263 (
Spell->Id == 18609) ||
268 (
Spell->Id >= 22267 &&
Spell->Id <= 22268)) &&
282 for (
uint8 i = 0; i < MaxCount; ++i)
295 uint8 iTemp = std::rand() % (MaxCount-1);
341 me->VisitNearbyGridObject(30, searcher);
379 me->SetCanFly(
false);
381 me->GetMotionMaster()->MovePoint(9,
me->GetHomePosition());
395 if (
me->IsNonMeleeSpellCasted(
false))
396 me->InterruptNonMeleeSpells(
false);
@ ACHIEVEMENT_TIMED_TYPE_EVENT
@ TEMPSUMMON_CORPSE_DESPAWN
@ 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
BossAI(Creature *creature, uint32 bossId)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
void DoCastVictim(uint32 spellId, bool triggered=false)
void DoCastAOE(uint32 spellId, bool triggered=false)
CreatureAI * GetAI(Creature *creature) const OVERRIDE
@ DATA_FLOOR_ERUPTION_GUID
@ DATA_SHE_DEEP_BREATH_MORE
@ ACHIEV_TIMED_START_EVENT
void SetCombatMovement(bool allowMovement)
bool IsCombatMovementAllowed() const
bool HealthBelowPct(uint32 pct) const
const T & RAID_MODE(const T &normal10, const T &normal25) const
void MovementInform(uint32 type, uint32 id) OVERRIDE
void SpellHit(Unit *, const SpellInfo *Spell) OVERRIDE
boss_onyxiaAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void KilledUnit(Unit *) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void JustDied(Unit *) OVERRIDE
void JustSummoned(Creature *summoned) OVERRIDE
void SummonedCreatureDespawn(Creature *summon) OVERRIDE
void SpellHitTarget(Unit *target, const SpellInfo *Spell) OVERRIDE
void SetNextRandomPoint()
static Location SpawnLocations[]