778 {
780
781 if (!owner)
783
786
788 {
791 }
792
794 {
797 }
798
800 {
803 }
804
807
809 {
811 return result;
812 }
813
815 }
@ NPC_HELPLESS_VILLAGER_A
Definition: zone_dragonblight.cpp:645
@ AREA_WINTERGARDE_KEEP
Definition: zone_dragonblight.cpp:660
@ SPELL_RIDE_VEHICLE
Definition: zone_dragonblight.cpp:643
@ NPC_HELPLESS_VILLAGER_B
Definition: zone_dragonblight.cpp:646
@ GO_TEMP_GRYPHON_STATION
Definition: zone_dragonblight.cpp:659
SpellCustomErrors
Definition: SharedDefines.h:1142
@ SPELL_CUSTOM_ERROR_NEED_HELPLESS_VILLAGER
Definition: SharedDefines.h:1146
@ SPELL_CUSTOM_ERROR_MUST_BE_NEAR_HELPLESS_VILLAGER
Definition: SharedDefines.h:1178
@ SPELL_CUSTOM_ERROR_NONE
Definition: SharedDefines.h:1143
SpellCastResult
Definition: SharedDefines.h:948
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1121
@ SPELL_FAILED_DONT_REPORT
Definition: SharedDefines.h:976
@ SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW
Definition: SharedDefines.h:1122
@ SPELL_CAST_OK
Definition: SharedDefines.h:1138
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