mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-08 22:37:38 +01:00
Fixed Invigoration giving invulnerability
This commit is contained in:
parent
39a213c727
commit
fe05c76495
@ -41,7 +41,6 @@ public class Invigoration extends EcoEnchant {
|
|||||||
}
|
}
|
||||||
|
|
||||||
double damageReduction = totalInvigorationPoints * this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "reduction-multiplier") * 0.01;
|
double damageReduction = totalInvigorationPoints * this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "reduction-multiplier") * 0.01;
|
||||||
damageReduction -= 1;
|
|
||||||
event.setDamage(event.getDamage() * damageReduction);
|
event.setDamage(event.getDamage() * damageReduction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user