![]() |
TrinityCore
|
Inheritance diagram for spell_capacitus_polarity_shift:Private Member Functions | |
| PrepareSpellScript (spell_capacitus_polarity_shift) | |
| bool | Validate (SpellInfo const *) override |
| void | FilterTargets (std::list< WorldObject * > &targets) |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Private Attributes | |
| uint32 | _targetIndex = 0 |
Definition at line 194 of file boss_mechano_lord_capacitus.cpp.
|
inlineprivate |
Definition at line 203 of file boss_mechano_lord_capacitus.cpp.
References Trinity::Containers::RandomShuffle().
Referenced by Register().
|
inlineprivate |
Definition at line 214 of file boss_mechano_lord_capacitus.cpp.
References _targetIndex, WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), Unit::RemoveAurasDueToSpell(), CastSpellExtraArgs::SetOriginalCaster(), SPELL_NEGATIVE_CHARGE_PERIODIC, SPELL_NEGATIVE_CHARGE_STACK, SPELL_POSITIVE_CHARGE_PERIODIC, SPELL_POSITIVE_CHARGE_STACK, and TRIGGERED_FULL_MASK.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 230 of file boss_mechano_lord_capacitus.cpp.
References EFFECT_0, FilterTargets(), HandleDummy(), SpellScript::OnEffectHitTarget, SpellScript::OnObjectAreaTargetSelect, SPELL_EFFECT_DUMMY, SpellEffectFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ENEMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 198 of file boss_mechano_lord_capacitus.cpp.
References SPELL_NEGATIVE_CHARGE_PERIODIC, SPELL_NEGATIVE_CHARGE_STACK, SPELL_POSITIVE_CHARGE_PERIODIC, SPELL_POSITIVE_CHARGE_STACK, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 237 of file boss_mechano_lord_capacitus.cpp.
Referenced by HandleDummy().