|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | HandleDamage (SpellEffIndex) |
| void | HandleTargets (std::list< WorldObject * > &targetList) |
| PrepareSpellScript (spell_capacitus_polarity_charge_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 151 of file boss_mechano_lord_capacitus.cpp.
|
inlineprivate |
Definition at line 190 of file boss_mechano_lord_capacitus.cpp.
References SpellScript::GetHitUnit(), SpellScript::GetTriggeringSpell(), Unit::HasAura(), and SpellScript::SetHitDamage().
Referenced by Register().
|
inlineprivate |
Definition at line 168 of file boss_mechano_lord_capacitus.cpp.
References SpellScript::GetCaster(), SpellScript::GetSpellInfo(), SpellScript::GetTriggeringSpell(), Unit::SetAuraStack(), SPELL_NEGATIVE_CHARGE_STACK, SPELL_POSITIVE_CHARGE, SPELL_POSITIVE_CHARGE_STACK, and Object::ToPlayer().
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 201 of file boss_mechano_lord_capacitus.cpp.
References EFFECT_0, HandleDamage(), HandleTargets(), SpellScript::OnEffectHitTarget, SpellScript::OnObjectAreaTargetSelect, OVERRIDE, SPELL_EFFECT_SCHOOL_DAMAGE, SpellEffectFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ALLY.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 155 of file boss_mechano_lord_capacitus.cpp.
References OVERRIDE, SPELL_NEGATIVE_CHARGE, SPELL_NEGATIVE_CHARGE_STACK, SPELL_POSITIVE_CHARGE, SPELL_POSITIVE_CHARGE_STACK, and sSpellMgr.