Thread: $mob->Heal();
View Single Post
  #3  
Old 05-15-2014, 06:30 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by Esildor View Post
Hola,

Does $mob->Heal(); not work? I understand it as the mob the script is being fired on is going to heal for the amount you set? I've tried both percentage and just hit point value, neither want to work.
Heal only heals the mob to full as far as I know. You are looking at it the wrong way; you should instead do:
$mob->SetHP(val);
where val could be a formula, a value, etc.
Reply With Quote