173 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_i(int chance)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCHOOL_DAMAGE
@ TARGET_UNIT_SRC_AREA_ALLY
#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
void JustEngagedWith(Unit *who) override
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
static ObjectGuid GetGUID(Object const *o)
static Player * ToPlayer(Object *o)
SpellInfo const * GetTriggeringSpell() const
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
SpellInfo const * GetSpellInfo() const
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
void DoMeleeAttackIfReady()
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 HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
bool HasUnitState(const uint32 f) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
PrepareSpellScript(spell_capacitus_polarity_charge)
bool Validate(SpellInfo const *) override
void HandleTargets(std::list< WorldObject * > &targetList)
void HandleDamage(SpellEffIndex)
void HandleDummy(SpellEffIndex)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_capacitus_polarity_shift)
@ 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)