Razas got the best solution there.
Or just make MobPetCast =< 1
and quit making things so difficult :/
Give us XP too... this only makes that crawl to 200 slower, harder, more dangerous, more awkward and more boring...
XP-less pets dont add to game they take away from it severely.