224 if (
me->Attack(who,
true))
226 me->AddThreat(who, 0.0f);
227 me->SetInCombatWith(who);
228 who->SetInCombatWith(
me);
230 me->GetMotionMaster()->MoveChase(who, 30.0f);
519 me->InterruptNonMeleeSpells(
false);
528 std::list<HostileReference*> t_list =
me->getThreatManager().getThreatList();
529 std::vector<Unit*> target_list;
530 for (std::list<HostileReference*>::const_iterator itr = t_list.begin(); itr!= t_list.end(); ++itr)
535 target_list.push_back(target);
538 if (!target_list.empty())
539 target = *(target_list.begin()+rand()%target_list.size());
541 me->InterruptNonMeleeSpells(
false);
@ UNIT_FIELD_VIRTUAL_ITEM_ID
@ SPELL_GREATER_POLYMORPH
@ SPELL_GREATER_PW_SHIELD
void AddSC_boss_high_king_maulgar()
void DoZoneInCombat(Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
static Creature * GetCreature(WorldObject const &u, uint64 guid)
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)
static Unit * GetUnit(WorldObject &object, uint64 guid)
InstanceScript * GetInstanceScript()
bool IsWithinDist(WorldObject const *obj, float dist2compare, bool is3D=true) const
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
boss_kiggler_the_crazed()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
AI * GetGruulsLairAI(Creature *creature)
bool HealthBelowPct(uint32 pct) const
ScriptedAI(Creature *creature)
void AttackStart(Unit *) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void JustDied(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
uint32 GreaterPowerWordShield_Timer
boss_blindeye_the_seerAI(Creature *creature)
InstanceScript * instance
uint32 PrayerofHealing_Timer
void EnterCombat(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
boss_high_king_maulgarAI(Creature *creature)
void JustDied(Unit *) OVERRIDE
void KilledUnit(Unit *) OVERRIDE
InstanceScript * instance
void DoAction(int32 actionId) OVERRIDE
boss_kiggler_the_crazedAI(Creature *creature)
void JustDied(Unit *) OVERRIDE
uint32 LightningBolt_Timer
uint32 GreaterPolymorph_Timer
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
InstanceScript * instance
void EnterCombat(Unit *) OVERRIDE
uint32 ArcaneExplosion_Timer
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
boss_krosh_firehandAI(Creature *creature)
InstanceScript * instance
void JustDied(Unit *) OVERRIDE
uint32 GreaterFireball_Timer
void EnterCombat(Unit *) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void JustDied(Unit *) OVERRIDE
boss_olm_the_summonerAI(Creature *creature)
void AttackStart(Unit *who) OVERRIDE
InstanceScript * instance
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================