mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
Whoops
This commit is contained in:
parent
234a31d283
commit
07db198a67
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user