3290 {
3291 if (
GetCaster()->IsInDisallowedMountForm())
3293
3295 {
3298 }
3299
3301 }
@ SPELL_AURA_MOD_SHAPESHIFT
Definition: SpellAuraDefines.h:99
@ SPELL_LANCE_EQUIPPED
Definition: spell_generic.cpp:3263
@ SPELL_CUSTOM_ERROR_MUST_HAVE_LANCE_EQUIPPED
Definition: SharedDefines.h:1203
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1121
@ SPELL_CAST_OK
Definition: SharedDefines.h:1138
void RemoveAurasByType(AuraType auraType, ObjectGuid casterGUID=ObjectGuid::Empty, Aura *except=nullptr, bool negative=true, bool positive=true)
Definition: Unit.cpp:5081
void SetCustomCastResultMessage(SpellCustomErrors result)
Definition: SpellScript.cpp:646
Unit * GetCaster()
Definition: SpellScript.cpp:401