on spawn i have....
Code:
$npc->SetHP($npc->GetMaxHP());
at the end of the pet scaling code to make sure they are full HP after re-scale
Also I found my original code for it... but it has some things that are custom in it and I'd rather not confuse people with snippets of code that don't work without the custom source for it lol