![]() |
TrinityCore
|
Inheritance diagram for spell_gen_summon_tournament_mount:Private Member Functions | |
| PrepareSpellScript (spell_gen_summon_tournament_mount) | |
| bool | Validate (SpellInfo const *) override |
| SpellCastResult | CheckIfLanceEquiped () |
| void | Register () override |
Definition at line 3444 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 3453 of file spell_generic.cpp.
References SpellScript::GetCaster(), 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().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 3467 of file spell_generic.cpp.
References CheckIfLanceEquiped(), SpellScript::OnCheckCast, and SpellCheckCastFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 3448 of file spell_generic.cpp.
References SPELL_LANCE_EQUIPPED, and _SpellScript::ValidateSpellInfo().