59#define SPELL_IMPALE RAID_MODE(28783, 56090)
60#define SPELL_LOCUST_SWARM RAID_MODE(28785, 54021)
199 creatureTarget->DespawnOrUnsummon();
std::chrono::seconds Seconds
Seconds shorthand typedef.
std::chrono::minutes Minutes
Minutes shorthand typedef.
std::set< ObjectGuid > GuidSet
Milliseconds randtime(Milliseconds min, Milliseconds max)
@ TRIGGERED_FULL_MASK
Used when doing CastSpell with triggered == true.
#define SPELL_LOCUST_SWARM
void AddSC_boss_anubrekhan()
@ ACHIEV_TIMED_START_EVENT
@ SPELL_SUMMON_CORPSE_SCARABS_MOB
@ SPELL_SUMMON_CORPSE_SCARABS_PLR
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustSummoned(Creature *summon) override
void SummonedCreatureDespawn(Creature *summon) override
virtual void EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
virtual void SummonedCreatureDies(Creature *, Unit *)
void SetCanMelee(bool canMelee, bool fleeFromMelee=false)
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void SetPhase(uint8 phase)
Milliseconds GetTimeUntilEvent(uint32 eventId) const
virtual ObjectGuid GetGuidData(uint32 type) const override
EncounterState GetBossState(uint32 id) const
void TriggerGameEvent(uint32 gameEventId, WorldObject *source=nullptr, WorldObject *target=nullptr) override
static ObjectGuid GetGUID(Object const *o)
void DoZoneInCombat(uint32 entry=0)
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCast(uint32 spellId)
InstanceScript * GetInstanceScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void SummonCreatureGroup(uint8 group, std::list< TempSummon * > *list=nullptr)
bool TryHandleOnce(Player *player, AreaTriggerEntry const *) override
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
auto SelectRandomContainerElement(C const &container) -> typename std::add_const< decltype(*std::begin(container))>::type &
#define RegisterNaxxramasCreatureAI(ai_name)
T const & RAID_MODE(T const &normal10, T const &normal25) const
void JustReachedHome() override
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
void SummonedCreatureDespawn(Creature *summon) override
void SummonedCreatureDies(Creature *summon, Unit *killer) override
void JustSummoned(Creature *summon) override
void KilledUnit(Unit *victim) override
void JustEngagedWith(Unit *who) override
void InitializeAI() override
boss_anubrekhan(Creature *creature)