Round actions remaining up

This commit is contained in:
nvisser
2018-03-11 15:40:43 +01:00
parent 297cc7c6f9
commit 2e318dfe58

View File

@@ -73,7 +73,7 @@ class SkillXPInfo
int getActionsRemaining() int getActionsRemaining()
{ {
return getXpRemaining() / actionExp; return (int) Math.ceil(getXpRemaining() / (float) actionExp);
} }
int getSkillProgress() int getSkillProgress()