Jump to content

myPlayer().getHealth()


fre024

Recommended Posts

Hello all,

 

this don't work for me. 

Gives wrong results.

Mylog("hp = " + Integer.toString(p.getHealth()));

What am i doing wrong?

 

 

SOLVED:

Gets the health in percentage form. (0% - 100%). Please NOTE: this is only updated in combat, which means if you got out of combat and then your hp changed, this won't reflect this. For this you should use the actual skills to check.

Edited by fre024
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...