TheYeti/mcMMO — Issue #47: Repair Mastery not working properly
Author: bm01
Created: 2012-01-26 20:38:50+00:00
State: open

In Repair.repairCalculate(), line 472: float bonus = (PP.getSkillLevel(SkillType.REPAIR) / 500);

An int divided by an int always result in an int. The result is 0 when the repair skill is between 0 and 499, 1 between 500 and 999, and so on.

According to the info given by /repair and the type of "bonus", it should be a decimal.