Fixed invigoration

This commit is contained in:
Auxilor
2022-01-18 08:34:22 +00:00
parent 6ac7d759f8
commit c75a23e99a

View File

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