AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_gen_create_lance) | |
bool | Validate (SpellInfo const *) override |
void | HandleScript (SpellEffIndex effIndex) |
void | Register () override |
|
inlineprivate |
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitPlayer(), SpellScript::PreventHitDefaultEffect(), SPELL_CREATE_LANCE_ALLIANCE, SPELL_CREATE_LANCE_HORDE, and TEAM_ALLIANCE.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_CREATE_LANCE_ALLIANCE, SPELL_CREATE_LANCE_HORDE, and _SpellScript::ValidateSpellInfo().