78 bug->DespawnOrUnsummon(1ms, 1s);
@ SPELL_SUMMON_YAUJ_BROOD
@ SPELL_SUMMON_POISON_CLOUD
static void RespawnDeadBugs(InstanceScript *instance)
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
Creature * GetCreature(uint32 type)
virtual void RemoveDynamicFlag(uint32 flag)
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
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
virtual uint32 GetData(uint32) const
virtual void SetData(uint32, uint32)
Unit * DoSelectLowestHpFriendly(float range, uint32 minHPDiff=1)
boss_kri(Creature *creature)
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
void JustEngagedWith(Unit *who) override
void JustReachedHome() override
void JustDied(Unit *) override
void UpdateAI(uint32 diff) override
void JustReachedHome() override
boss_vem(Creature *creature)
void JustEngagedWith(Unit *who) override
boss_yauj(Creature *creature)
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
void JustEngagedWith(Unit *who) override
void JustReachedHome() override
#define RegisterAQ40CreatureAI(ai_name)