|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | HandleDamage (SpellEffIndex) |
| void | HandleTargets (std::list< WorldObject * > &targets) |
| bool | Load () OVERRIDE |
| PrepareSpellScript (spell_thaddius_pos_neg_charge_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 433 of file boss_thaddius.cpp.
|
inlineprivate |
Definition at line 477 of file boss_thaddius.cpp.
References Creature::AI(), DATA_POLARITY_SWITCH, SpellScript::GetCaster(), SpellScript::GetHitUnit(), SpellScript::GetTriggeringSpell(), Object::GetTypeId(), Unit::HasAura(), Unit::IsAIEnabled, UnitAI::SetData(), SpellScript::SetHitDamage(), Object::ToCreature(), and TYPEID_PLAYER.
Referenced by Register().
|
inlineprivate |
Definition at line 455 of file boss_thaddius.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().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 450 of file boss_thaddius.cpp.
References SpellScript::GetCaster(), Object::GetTypeId(), OVERRIDE, and TYPEID_UNIT.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 494 of file boss_thaddius.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 437 of file boss_thaddius.cpp.
References OVERRIDE, SPELL_NEGATIVE_CHARGE, SPELL_NEGATIVE_CHARGE_STACK, SPELL_POSITIVE_CHARGE, SPELL_POSITIVE_CHARGE_STACK, and sSpellMgr.