#define RegisterSpellScript(spell_script)
#define SpellEffectFn(F, I, N)
void AddSC_boss_magmadar()
@ SPELL_SUMMON_LAVA_BOMB_1
@ SPELL_SUMMON_LAVA_BOMB_2
void JustEngagedWith(Unit *who) override
void Repeat(Milliseconds time)
void CancelEvent(EventId eventId)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
SpellInfo const * GetSpellInfo() const
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(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
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_magmadar_lava_bomb)
void HandleDummy(SpellEffIndex)
#define RegisterMoltenCoreCreatureAI(ai_name)
void UpdateAI(uint32 diff) override
boss_magmadar(Creature *creature)
void JustEngagedWith(Unit *who) override
void OnSpellCast(SpellInfo const *spell) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override