fre024 Posted June 3, 2014 Posted June 3, 2014 (edited) 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 June 3, 2014 by fre024
Realist Posted June 3, 2014 Posted June 3, 2014 @Apaec had the same issue I believe and he was struggling, hopefully someone with better expertise can help.
Dog_ Posted June 3, 2014 Posted June 3, 2014 That method only returns correctly while you're in combat.