|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| SpellCastResult | CheckIfLanceEquiped () |
| PrepareSpellScript (spell_gen_summon_tournament_mount_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 3268 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 3279 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 |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 3293 of file spell_generic.cpp.
References CheckIfLanceEquiped(), SpellScript::OnCheckCast, OVERRIDE, and SpellCheckCastFn.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 3272 of file spell_generic.cpp.
References OVERRIDE, SPELL_LANCE_EQUIPPED, and sSpellMgr.