81 {
83 if (!pet)
85
86 if (!pet)
88
90 {
93 }
94
97
99 }
@ 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_LINE_OF_SIGHT
Definition: SharedDefines.h:996
@ SPELL_FAILED_NO_PET
Definition: SharedDefines.h:1033
Unit * GetCharm() const
Definition: Unit.cpp:10671
bool IsAlive() const
Definition: Unit.h:1654
Guardian * GetGuardianPet() const
Definition: Unit.cpp:10651
void SetCustomCastResultMessage(SpellCustomErrors result)
Definition: SpellScript.cpp:646
Unit * GetCaster()
Definition: SpellScript.cpp:401