mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-10 03:31:20 +01:00
commit
a5b2ffe40a
@ -41,7 +41,7 @@ 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;
|
damageReduction -= 1;
|
||||||
event.setDamage(event.getDamage() * damageReduction);
|
event.setDamage(event.getDamage() * damageReduction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user