![]() |
TrinityCore
|
Inheritance diagram for spell_gen_summon_tournament_mount:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| SpellCastResult | CheckIfLanceEquiped () |
| void | Register () override |
Definition at line 3300 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 3307 of file spell_generic.cpp.
References SpellScript::GetCaster(), HasAura, Unit::RemoveAurasByType(), SpellScript::SetCustomCastResultMessage(), SPELL_AURA_MOD_SHAPESHIFT, SPELL_CAST_OK, SPELL_CUSTOM_ERROR_MUST_HAVE_LANCE_EQUIPPED, SPELL_FAILED_CUSTOM_ERROR, and SPELL_LANCE_EQUIPPED.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 3321 of file spell_generic.cpp.
References CheckIfLanceEquiped(), SpellScript::OnCheckCast, and SpellCheckCastFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 3302 of file spell_generic.cpp.
References SPELL_LANCE_EQUIPPED, and SpellScriptBase::ValidateSpellInfo().