1296 {
1299 {
1301 }
1302
1304 if (!pet)
1305 {
1307 }
1308
1310 {
1313 }
1314
1316 }
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
@ SPELL_CUSTOM_ERROR_PET_IS_DEAD
Definition: SharedDefines.h:1206
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1121
@ SPELL_CAST_OK
Definition: SharedDefines.h:1138
@ SPELL_FAILED_NO_VALID_TARGETS
Definition: SharedDefines.h:1127
@ SPELL_FAILED_NO_PET
Definition: SharedDefines.h:1033
Player * ToPlayer()
Definition: Object.h:195
TypeID GetTypeId() const
Definition: Object.h:121
Pet * GetPet() const
Definition: Player.cpp:8819
bool IsAlive() const
Definition: Unit.h:1822
void SetCustomCastResultMessage(SpellCustomErrors result)
Definition: SpellScript.cpp:646
Unit * GetCaster()
Definition: SpellScript.cpp:401