3166 {
3167 if (
GetCaster()->IsInDisallowedMountForm())
3169
3171 {
3174 }
3175
3177 }
@ SPELL_AURA_MOD_SHAPESHIFT
Definition: SpellAuraDefines.h:99
@ SPELL_LANCE_EQUIPPED
Definition: spell_generic.cpp:3140
@ SPELL_CUSTOM_ERROR_MUST_HAVE_LANCE_EQUIPPED
Definition: SharedDefines.h:1175
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1093
@ SPELL_CAST_OK
Definition: SharedDefines.h:1110
void RemoveAurasByType(AuraType auraType, ObjectGuid casterGUID=ObjectGuid::Empty, Aura *except=nullptr, bool negative=true, bool positive=true)
Definition: Unit.cpp:5025
void SetCustomCastResultMessage(SpellCustomErrors result)
Definition: SpellScript.cpp:646
Unit * GetCaster()
Definition: SpellScript.cpp:401