195 creatureTarget->DespawnOrUnsummon();
@ ACHIEVEMENT_TIMED_TYPE_EVENT
std::chrono::seconds Seconds
Seconds shorthand typedef.
std::chrono::minutes Minutes
Minutes shorthand typedef.
std::set< ObjectGuid > GuidSet
Milliseconds randtime(Milliseconds min, Milliseconds max)
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
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
virtual void SummonedCreatureDies(Creature *, Unit *)
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
void Repeat(Milliseconds time)
Milliseconds GetTimeUntilEvent(EventId eventId) const
bool IsInPhase(PhaseIndex phase) const
void SetPhase(PhaseIndex phase)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
virtual ObjectGuid GetGuidData(uint32 type) const override
EncounterState GetBossState(uint32 id) const
void DoStartTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry)
static ObjectGuid GetGUID(Object const *o)
void DoZoneInCombat(uint32 entry=0)
void DoMeleeAttackIfReady()
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)