![]() |
TrinityCore
|
Inheritance diagram for spell_thaddius_polarity_charge:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleTargets (std::list< WorldObject * > &targetList) |
| void | Register () override |
Definition at line 937 of file boss_thaddius.cpp.
|
inlineprivate |
Definition at line 953 of file boss_thaddius.cpp.
References ACTION_POLARITY_CROSSED, Unit::AddAura(), DIFFICULTY_10_N, DIFFICULTY_25_N, WorldObject::FindNearestCreature(), SpellScript::GetCaster(), SpellScript::GetTriggeringSpell(), HasAura, SpellInfo::Id, MAX_POLARITY_10M, MAX_POLARITY_25M, NPC_THADDIUS, Unit::SetAuraStack(), SPELL_NEGATIVE_CHARGE_AMP, SPELL_NEGATIVE_CHARGE_APPLY, SPELL_POSITIVE_CHARGE_AMP, SPELL_POSITIVE_CHARGE_APPLY, Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1018 of file boss_thaddius.cpp.
References EFFECT_0, HandleTargets(), SpellScript::OnObjectAreaTargetSelect, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ALLY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 939 of file boss_thaddius.cpp.
References SPELL_NEGATIVE_CHARGE_AMP, SPELL_NEGATIVE_CHARGE_APPLY, SPELL_NEGATIVE_CHARGE_TICK, SPELL_POLARITY_SHIFT, SPELL_POSITIVE_CHARGE_AMP, SPELL_POSITIVE_CHARGE_APPLY, SPELL_POSITIVE_CHARGE_TICK, and SpellScriptBase::ValidateSpellInfo().