This commit is contained in:
nossr50 2019-03-05 21:31:53 -08:00
parent 234a31d283
commit 07db198a67

View File

@ -269,6 +269,7 @@ public class RepairManager extends SkillManager {
double skillLevelBonusCalc = (Repair.repairMasteryMaxBonus / Repair.repairMasteryMaxBonusLevel) * (getSkillLevel() / 100.0D); double skillLevelBonusCalc = (Repair.repairMasteryMaxBonus / Repair.repairMasteryMaxBonusLevel) * (getSkillLevel() / 100.0D);
double bonus = repairAmount * Math.min(skillLevelBonusCalc, maxBonusCalc); double bonus = repairAmount * Math.min(skillLevelBonusCalc, maxBonusCalc);
repairAmount += bonus; repairAmount += bonus;
} }