Fix issue with double drop display values.

This commit is contained in:
GJ 2013-03-16 15:55:53 -04:00
parent 0ae5421d10
commit 3ac5ac385d

View File

@ -116,7 +116,7 @@ public abstract class SkillCommand implements CommandExecutor {
}
protected String[] calculateAbilityDisplayValues(int maxBonusLevel, double maxChance) {
return calculateAbilityDisplayValues((maxChance / Math.min(skillValue, maxBonusLevel)) * skillValue);
return calculateAbilityDisplayValues((maxChance / maxBonusLevel) * Math.min(skillValue, maxBonusLevel));
}
protected String[] calculateLengthDisplayValues() {