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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user