#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ TARGET_UNIT_SRC_AREA_ENEMY
@ SPELL_AURA_PERIODIC_ENERGIZE
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
@ SPELL_SUMMON_MANA_FIENDS
@ SPELL_DRAIN_MANA_VISUAL
@ SPELL_SUMMON_MANA_FIEND_3
@ SPELL_ZERO_MANA_FULL_HEALTH
@ SPELL_DRAIN_MANA_EFFECT
@ SPELL_SUMMON_MANA_FIEND_2
@ SPELL_SUMMON_MANA_FIEND_1
HookList< EffectPeriodicHandler > OnEffectPeriodic
void JustEngagedWith(Unit *who) override
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
HookList< EffectHandler > OnEffectHit
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
void SetPower(Powers power, int32 val, bool withPowerUpdate=true)
Powers GetPowerType() const
int32 GetMaxPower(Powers power) const
int32 GetPower(Powers power) const
bool HasUnitState(const uint32 f) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
void FilterTargets(std::list< WorldObject * > &targets)
void OnPeriodic(AuraEffect const *)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
void RandomResize(C &container, std::size_t requestedSize)
#define RegisterAQ20CreatureAI(ai_name)
void JustDied(Unit *) override
void JustReachedHome() override
void OnSpellCast(SpellInfo const *spell) override
void SummonedCreatureDies(Creature *, Unit *) override
boss_moam(Creature *creature)
void UpdateAI(uint32 diff) override
uint8 _deadManaFiendCount
void JustAppeared() override
void JustEngagedWith(Unit *who) override