30#define SPELL_CARRION_SWARM DUNGEON_MODE(52720,58852)
31#define SPELL_MIND_BLAST DUNGEON_MODE(52722,58850)
32#define SPELL_SLEEP DUNGEON_MODE(52721,58849)
TC_GAME_API bool InstanceHasScript(WorldObject const *obj, char const *scriptName)
std::chrono::seconds Seconds
Seconds shorthand typedef.
void AddSC_boss_mal_ganis()
#define SPELL_CARRION_SWARM
InstanceScript *const instance
virtual void EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void SetImmuneToAll(bool apply) override
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
virtual bool SetBossState(uint32 id, EncounterState state)
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 DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
bool HasUnitState(const uint32 f) const
InstanceScript * GetInstanceScript() const
virtual uint32 GetData(uint32) const
CreatureAI * GetAI(Creature *creature) const override
bool HealthBelowPct(uint32 pct) const
boss_mal_ganisAI(Creature *creature)
void JustReachedHome() override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void UpdateAI(uint32 diff) override
void KilledUnit(Unit *victim) override
void JustEngagedWith(Unit *) override