168 for (std::list<WorldObject*>::iterator ihit = targetList.begin(); ihit != targetList.end(); ++ihit)
First const & RAND(First const &first, Second const &second, Rest const &... rest)
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
Milliseconds randtime(Milliseconds min, Milliseconds max)
bool roll_chance(float chance, PseudoRandomDistributionState &state)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCHOOL_DAMAGE
@ TARGET_UNIT_SRC_AREA_ALLY
@ TRIGGERED_FULL_MASK
Used when doing CastSpell with triggered == true.
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
@ EVENT_REFLECTIVE_DAMAGE_SHIELD
@ EVENT_SUMMON_NETHER_CHARGE
@ EVENT_REFLECTIVE_MAGIE_SHIELD
@ SPELL_SUMMON_NETHER_CHARGE_NE
@ SPELL_SUMMON_NETHER_CHARGE_SE
@ SPELL_REFLECTIVE_MAGIC_SHIELD
@ SPELL_SUMMON_NETHER_CHARGE_SW
@ SPELL_POSITIVE_POLARITY
@ SPELL_SUMMON_NETHER_CHARGE_NW
@ SPELL_REFLECTIVE_DAMAGE_SHIELD
@ SPELL_POSITIVE_CHARGE_STACK
@ SPELL_NEGATIVE_CHARGE_STACK
@ SPELL_NEGATIVE_POLARITY
void AddSC_boss_mechano_lord_capacitus()
@ SAY_REFLECTIVE_DAMAGE_SHIELD
@ SAY_REFLECTIVE_MAGIC_SHIELD
ObjectGuid const & GetGUID() const
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)
SpellInfo const * GetTriggeringSpell() const
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
SpellInfo const * GetSpellInfo() const
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
void SetAuraStack(uint32 spellId, Unit *target, uint32 stack)
bool HasUnitState(const uint32 f) const
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
bool Validate(SpellInfo const *) override
void HandleTargets(std::list< WorldObject * > &targetList)
void HandleDamage(SpellEffIndex)
void HandleDummy(SpellEffIndex)
bool Validate(SpellInfo const *) override
@ DATA_MECHANOLORD_CAPACITUS
#define RegisterMechanarCreatureAI(ai_name)
T const & DUNGEON_MODE(T const &normal5, T const &heroic10) const
void KilledUnit(Unit *) override
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void UpdateAI(uint32 diff) override
boss_mechano_lord_capacitus(Creature *creature)