Make damageReduction reduce damage.

Swap the addition for subtraction, so more invigoration points will multiply the damage by a lower percentage.
This commit is contained in:
cfcradle
2022-01-09 23:25:15 -05:00
committed by GitHub
parent 404605cb1b
commit 601934fa88

View File

@@ -41,7 +41,7 @@ public class Invigoration extends EcoEnchant {
}
double damageReduction = totalInvigorationPoints * this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "reduction-multiplier") * 0.01;
damageReduction += 1;
damageReduction -= 1;
event.setDamage(event.getDamage() * damageReduction);
}