1283 {
1286 {
1288 }
1289
1291 if (!pet)
1292 {
1294 }
1295
1297 {
1300 }
1301
1303 }
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
@ SPELL_CUSTOM_ERROR_PET_IS_DEAD
Definition: SharedDefines.h:1178
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1093
@ SPELL_CAST_OK
Definition: SharedDefines.h:1110
@ SPELL_FAILED_NO_VALID_TARGETS
Definition: SharedDefines.h:1099
@ SPELL_FAILED_NO_PET
Definition: SharedDefines.h:1005
Player * ToPlayer()
Definition: Object.h:195
TypeID GetTypeId() const
Definition: Object.h:121
Pet * GetPet() const
Definition: Player.cpp:8784
bool IsAlive() const
Definition: Unit.h:1808
void SetCustomCastResultMessage(SpellCustomErrors result)
Definition: SpellScript.cpp:646
Unit * GetCaster()
Definition: SpellScript.cpp:401