You should technically do more checking when you implement something like that as well, like making sure GetPet() actually returns a pet and isn't null before you kill it for example.
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.