838 {
840
841 if (!master)
843
846
849
851 {
854 }
855
857 {
859 return result;
860 }
861
863 }
SpellCustomErrors
Definition SharedDefines.h:1130
@ SPELL_CUSTOM_ERROR_NONE
Definition SharedDefines.h:1131
@ SPELL_CUSTOM_ERROR_NO_PASSENGER
Definition SharedDefines.h:1172
SpellCastResult
Definition SharedDefines.h:936
@ SPELL_FAILED_CUSTOM_ERROR
Definition SharedDefines.h:1109
@ SPELL_FAILED_DONT_REPORT
Definition SharedDefines.h:964
@ SPELL_CAST_OK
Definition SharedDefines.h:1126
@ SPELL_FAILED_REQUIRES_SPELL_FOCUS
Definition SharedDefines.h:1039
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:411
Unit * GetCaster()
Definition SpellScript.cpp:401
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 castCount, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE)
Definition Spell.cpp:4622
Player * GetCharmerOrOwnerPlayerOrPlayerItself() const
Definition Unit.cpp:7635
@ SPELL_RIDE_VEHICLE
Definition zone_dragonblight.cpp:643
@ GO_TEMP_GRYPHON_STATION
Definition zone_dragonblight.cpp:659