Repair lucky perk should decrease the Arcane Forging downgrade chance,

instead of increasing it.
This commit is contained in:
TfT_02
2014-03-14 15:08:09 +01:00
parent 9a359bf42c
commit 01b7d4f742
2 changed files with 2 additions and 1 deletions

View File

@ -340,7 +340,7 @@ public class RepairManager extends SkillManager {
if (getKeepEnchantChance() > Misc.getRandom().nextInt(activationChance)) {
int enchantLevel = enchant.getValue();
if (ArcaneForging.arcaneForgingDowngrades && enchantLevel > 1 && getDowngradeEnchantChance() > Misc.getRandom().nextInt(activationChance)) {
if (ArcaneForging.arcaneForgingDowngrades && enchantLevel > 1 && Misc.getRandom().nextInt(activationChance) <= getDowngradeEnchantChance()) {
item.addUnsafeEnchantment(enchantment, enchantLevel - 1);
downgraded = true;
}