834 {
836
837 if (!master)
839
842
845
847 {
850 }
851
853 {
855 return result;
856 }
857
859 }
@ SPELL_RIDE_VEHICLE
Definition: zone_dragonblight.cpp:641
@ GO_TEMP_GRYPHON_STATION
Definition: zone_dragonblight.cpp:657
SpellCustomErrors
Definition: SharedDefines.h:1114
@ SPELL_CUSTOM_ERROR_NONE
Definition: SharedDefines.h:1115
@ SPELL_CUSTOM_ERROR_NO_PASSENGER
Definition: SharedDefines.h:1156
SpellCastResult
Definition: SharedDefines.h:920
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1093
@ SPELL_FAILED_DONT_REPORT
Definition: SharedDefines.h:948
@ SPELL_CAST_OK
Definition: SharedDefines.h:1110
@ SPELL_FAILED_REQUIRES_SPELL_FOCUS
Definition: SharedDefines.h:1023
Definition: Player.h:1046
Player * GetCharmerOrOwnerPlayerOrPlayerItself() const
Definition: Unit.cpp:10576
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 castCount, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE)
Definition: Spell.cpp:4631
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401