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

@ -33,7 +33,7 @@ public class AcrobaticsCommand extends SkillCommand {
@Override
protected void dataCalculations() {
DecimalFormat df = new DecimalFormat("#.0");
DecimalFormat df = new DecimalFormat("0.0");
// DODGE
if(skillValue >= dodgeMaxBonusLevel) dodgeChance = df.format(dodgeChanceMax);
else dodgeChance = df.format(((double) dodgeChanceMax / (double) dodgeMaxBonusLevel) * skillValue);