835 {
837
838 if (!master)
840
843
846
848 {
851 }
852
854 {
856 return result;
857 }
858
860 }
@ SPELL_RIDE_VEHICLE
Definition: zone_dragonblight.cpp:643
@ GO_TEMP_GRYPHON_STATION
Definition: zone_dragonblight.cpp:659
SpellCustomErrors
Definition: SharedDefines.h:1142
@ SPELL_CUSTOM_ERROR_NONE
Definition: SharedDefines.h:1143
@ SPELL_CUSTOM_ERROR_NO_PASSENGER
Definition: SharedDefines.h:1184
SpellCastResult
Definition: SharedDefines.h:948
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1121
@ SPELL_FAILED_DONT_REPORT
Definition: SharedDefines.h:976
@ SPELL_CAST_OK
Definition: SharedDefines.h:1138
@ SPELL_FAILED_REQUIRES_SPELL_FOCUS
Definition: SharedDefines.h:1051
Definition: Player.h:1081
Player * GetCharmerOrOwnerPlayerOrPlayerItself() const
Definition: Unit.cpp:10616
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 castCount, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE)
Definition: Spell.cpp:4674
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401