57 {261.6f, -449.3f, 109.5f},
58 {263.3f, -454.0f, 109.5f},
59 {291.5f, -450.4f, 109.5f},
60 {291.5f, -454.0f, 109.5f},
61 {310.0f, -453.4f, 109.5f},
62 {238.6f, -460.7f, 109.5f}
109 std::random_device rd;
110 std::mt19937 g(rd());
113 std::shuffle(v.begin(), v.end(), g);
119 me->GetMotionMaster()->MoveTargetedHome();
167 if (
me->Attack(who,
true))
169 me->AddThreat(who, 0.0f);
170 me->SetInCombatWith(who);
171 who->SetInCombatWith(
me);
298 me->GetMotionMaster()->MoveTargetedHome();
304 if (pPalehoof && pPalehoof->
IsAlive())
344 if (
me->Attack(who,
true))
346 me->AddThreat(who, 0.0f);
347 me->SetInCombatWith(who);
348 who->SetInCombatWith(
me);
410 me->GetMotionMaster()->MoveTargetedHome();
416 if (pPalehoof && pPalehoof->
IsAlive())
456 if (
me->Attack(who,
true))
458 me->AddThreat(who, 0.0f);
459 me->SetInCombatWith(who);
460 who->SetInCombatWith(
me);
525 me->GetMotionMaster()->MoveTargetedHome();
531 if (pPalehoof && pPalehoof->
IsAlive())
572 if (
me->Attack(who,
true))
574 me->AddThreat(who, 0.0f);
575 me->SetInCombatWith(who);
576 who->SetInCombatWith(
me);
644 me->GetMotionMaster()->MoveTargetedHome();
650 if (pPalehoof && pPalehoof->
IsAlive())
692 if (
me->Attack(who,
true))
694 me->AddThreat(who, 0.0f);
695 me->SetInCombatWith(who);
696 who->SetInCombatWith(
me);
818 if (pPalehoof && pPalehoof->
IsAlive())
@ TEMPSUMMON_CORPSE_DESPAWN
@ UNIT_FLAG_NON_ATTACKABLE
@ UNIT_FLAG_NOT_SELECTABLE
@ UNIT_FLAG_NOT_ATTACKABLE_1
@ CREATURE_JORMUNGAR_WORM
void AddSC_boss_palehoof()
struct Locations moveLocs[]
@ PHASE_MASSIVE_JORMUNGAR
@ PHASE_RAVENOUS_FURLBORG
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
void SetInCombatWithZone()
void Respawn(bool force=false)
Unit * SelectNearestTarget(float dist=0, bool playerOnly=false) const
CreatureScript(const char *name)
void SetGoState(GOState state)
GameObjectScript(const char *name)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true)
void RemoveFlag(uint16 index, uint32 oldFlag)
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 CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void RemoveAurasDueToSpell(uint32 spellId, uint64 casterGUID=0, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
MotionMaster * GetMotionMaster()
static Creature * GetCreature(WorldObject &object, uint64 guid)
bool Attack(Unit *victim, bool meleeAttack)
void SetStandState(uint8 state)
InstanceScript * GetInstanceScript()
virtual uint64 GetData64(uint32) const
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnGossipHello(Player *, GameObject *go) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
ScriptedAI(Creature *creature)
const T & DUNGEON_MODE(const T &normal5, const T &heroic5) const
void DoStartMovement(Unit *target, float distance=0.0f, float angle=0.0f)
void JustDied(Unit *) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
InstanceScript * instance
void JustReachedHome() OVERRIDE
boss_palehoofAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void KilledUnit(Unit *) OVERRIDE
uint32 uiWhiteringRoarTimer
void AttackStart(Unit *who) OVERRIDE
uint32 uiArcingSmashTimer
uint32 uiGrievousWoundTimer
npc_ferocious_rhinoAI(Creature *creature)
InstanceScript * instance
void JustReachedHome() OVERRIDE
void AttackStart(Unit *who) OVERRIDE
void JustDied(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void JustReachedHome() OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void AttackStart(Unit *who) OVERRIDE
void JustDied(Unit *) OVERRIDE
npc_frenzied_worgenAI(Creature *creature)
uint32 uiMortalWoundTimer
InstanceScript * instance
void JustDied(Unit *) OVERRIDE
npc_massive_jormungarAI(Creature *creature)
void JustReachedHome() OVERRIDE
void AttackStart(Unit *who) OVERRIDE
uint32 uiPoisonBreathTimer
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
uint32 uiAcidSplatterTimer
InstanceScript * instance
InstanceScript * instance
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_palehoof_orbAI(Creature *creature)
void MovementInform(uint32 type, uint32 id) OVERRIDE
uint32 uiChainLightingTimer
npc_ravenous_furbolgAI(Creature *creature)
void JustDied(Unit *) OVERRIDE
void AttackStart(Unit *who) OVERRIDE
InstanceScript * instance
uint32 uiTerrifyingRoarTimer
void JustReachedHome() OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
@ DATA_GORTOK_PALEHOOF_SPHERE
@ DATA_NPC_RAVENOUS_FURBOLG
@ DATA_NPC_FRENZIED_WORGEN
@ DATA_NPC_MASSIVE_JORMUNGAR
@ DATA_NPC_FEROCIOUS_RHINO
@ DATA_GORTOK_PALEHOOF_EVENT