What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

2.5 broke health percentages

flitch

New Member
Joined
Jan 7, 2012
Messages
15
Reaction score
0
Code:
public double hasLowHP(Creature member)    { return member.hp * 100 / member.maxHp; }

if (_resurgence && hasLowHP(healTarget) <= _resurgencePercent) {
                    castHeal("Resurgence", healTarget, _resurgencePercent);
}

this used to return correct health %'s and now it thinks my party member is under 75% hp when they're full. this worked fine before 2.5 patch and i just noticed its messed up now. pretty sure it's something on archebuddy's end to fix
 
Back
Top