![]() |
TrinityCore
|
Inheritance diagram for spell_thaddius_polarity_charge:Private Member Functions | |
| PrepareSpellScript (spell_thaddius_polarity_charge) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleTargets (std::list< WorldObject * > &targetList) |
| void | Register () override |
Definition at line 944 of file boss_thaddius.cpp.
|
inlineprivate |
Definition at line 962 of file boss_thaddius.cpp.
References ACTION_POLARITY_CROSSED, Unit::AddAura(), WorldObject::FindNearestCreature(), SpellScript::GetCaster(), SpellScript::GetTriggeringSpell(), SpellInfo::Id, MAX_POLARITY_10M, MAX_POLARITY_25M, NPC_THADDIUS, RAID_DIFFICULTY_10MAN_NORMAL, RAID_DIFFICULTY_25MAN_NORMAL, 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().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1027 of file boss_thaddius.cpp.
References EFFECT_0, HandleTargets(), SpellScript::OnObjectAreaTargetSelect, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ALLY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 948 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 _SpellScript::ValidateSpellInfo().