76static constexpr std::array<uint32, 4>
OgreData =
void AddSC_boss_high_king_maulgar()
@ SPELL_GREATER_POLYMORPH
@ SPELL_PRAYER_OF_HEALING
@ SPELL_GREATER_PW_SHIELD
@ SPELL_SUMMON_WILD_FELHUNTER
static constexpr std::array< uint32, 4 > OgreData
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void SetCorpseDelay(uint32 delay, bool ignoreCorpseDecayRatio=false)
Creature * GetCreature(uint32 type)
void Respawn(RespawnInfo *info, CharacterDatabaseTransaction dbTrans=nullptr)
static Unit * ToUnit(Object *o)
TaskContext & Repeat(std::chrono::duration< _Rep, _Period > const &duration)
TaskScheduler & CancelAll()
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
TaskScheduler & Update(success_t const &callback=EmptyCallback)
TaskScheduler & SetValidator(P &&predicate)
Sets a validator which is asked if tasks are allowed to be executed.
void AttackStartCaster(Unit *victim, float dist)
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
virtual void InitializeAI()
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 DoCast(uint32 spellId)
bool HasUnitState(const uint32 f) const
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
virtual uint64 GetData64(uint32) const
@ DATA_KIGGLER_THE_CRAZED
#define RegisterGruulsLairCreatureAI(ai_name)
InstanceScript * instance
void JustEngagedWith(Unit *) override
OgreBaseAI(Creature *creature)
virtual void ScheduleEvents()=0
void InitializeAI() override
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
void SetEquipmentSlots(bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
Unit * DoSelectLowestHpFriendly(float range, uint32 minHPDiff=1)
void ModifyThreatByPercent(Unit *victim, int32 pct, Unit *who=nullptr)
void ScheduleEvents() override
boss_blindeye_the_seer(Creature *creature)
void OnSpellCast(SpellInfo const *spellInfo) override
void KilledUnit(Unit *) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void JustEngagedWith(Unit *who) override
boss_high_king_maulgar(Creature *creature)
void OnSpellCast(SpellInfo const *spellInfo) override
void JustDied(Unit *) override
void DoAction(int32 action) override
void UpdateAI(uint32 diff) override
void AttackStart(Unit *who) override
boss_kiggler_the_crazed(Creature *creature)
void ScheduleEvents() override
void SpellHitTarget(WorldObject *target, SpellInfo const *spellInfo) override
boss_krosh_firehand(Creature *creature)
void ScheduleEvents() override
boss_olm_the_summoner(Creature *creature)
void ScheduleEvents() override