![]() |
TrinityCore
|
Inheritance diagram for spell_capacitus_polarity_charge_damage:Private Member Functions | |
| PrepareSpellScript (spell_capacitus_polarity_charge_damage) | |
| bool | Validate (SpellInfo const *) override |
| void | FilterTargets (std::list< WorldObject * > &targets) |
| void | HandleAfterCast () |
| void | Register () override |
Private Attributes | |
| uint32 | _targetCount = 0 |
Definition at line 266 of file boss_mechano_lord_capacitus.cpp.
|
inlineprivate |
Definition at line 281 of file boss_mechano_lord_capacitus.cpp.
References _targetCount, and SpellScript::GetTriggeringSpell().
Referenced by Register().
|
inlineprivate |
Definition at line 291 of file boss_mechano_lord_capacitus.cpp.
References _targetCount, WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetSpellInfo(), Unit::RemoveAurasDueToSpell(), SPELL_NEGATIVE_CHARGE_DAMAGE, SPELL_NEGATIVE_CHARGE_STACK, SPELL_POSITIVE_CHARGE_DAMAGE, SPELL_POSITIVE_CHARGE_STACK, SPELLVALUE_AURA_STACK, and TRIGGERED_FULL_MASK.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 313 of file boss_mechano_lord_capacitus.cpp.
References SpellScript::AfterCast, EFFECT_0, FilterTargets(), HandleAfterCast(), SpellScript::OnObjectAreaTargetSelect, SpellCastFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ALLY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 270 of file boss_mechano_lord_capacitus.cpp.
References SPELL_NEGATIVE_CHARGE_DAMAGE, SPELL_NEGATIVE_CHARGE_STACK, SPELL_POSITIVE_CHARGE_DAMAGE, SPELL_POSITIVE_CHARGE_STACK, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 320 of file boss_mechano_lord_capacitus.cpp.
Referenced by FilterTargets(), and HandleAfterCast().