mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-06 22:17:40 +01:00
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:
parent
404605cb1b
commit
601934fa88
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user