3264 {
3265 if (
GetCaster()->IsInDisallowedMountForm())
3267
3269 {
3272 }
3273
3275 }
@ SPELL_LANCE_EQUIPPED
Definition: spell_generic.cpp:3237
@ 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
@ SPELL_AURA_MOD_SHAPESHIFT
Definition: SpellAuraDefines.h:99
void RemoveAurasByType(AuraType auraType, ObjectGuid casterGUID=ObjectGuid::Empty, Aura *except=nullptr, bool negative=true, bool positive=true)
Definition: Unit.cpp:5110
void SetCustomCastResultMessage(SpellCustomErrors result)
Definition: SpellScript.cpp:646
Unit * GetCaster()
Definition: SpellScript.cpp:401