Adresses issue #364

This commit is contained in:
TfT_02
2012-12-28 00:41:56 +01:00
parent 2c8bfd6573
commit e13ba010bf
9 changed files with 10 additions and 10 deletions

View File

@ -38,7 +38,7 @@ public class TamingCommand extends SkillCommand {
@Override
protected void dataCalculations() {
DecimalFormat df = new DecimalFormat("#.0");
DecimalFormat df = new DecimalFormat("0.0");
if(skillValue >= goreMaxLevel) goreChance = df.format(goreChanceMax);
else goreChance = df.format(((double) goreChanceMax / (double) goreMaxLevel) * skillValue);
}