View Single Post
  #2  
Old 03-04-2010, 06:53 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Try changing this:

Code:
SetHP($client->GetMaxHP());
To this:

Code:
$client->SetHP($client->GetMaxHP());
Those HP related objects do work for NPCs and Players. That is why it is in the "mob" section of that wiki page. The "npc" section is for NPCs only, and the "client" section is for clients only, but the "mob" section is for both clients and NPCs.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote