Merge remote-tracking branch 'origin/master'

This commit is contained in:
Auxilor 2022-01-10 19:37:08 +00:00
commit 9e82fc99dd
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -30,5 +30,5 @@ general-config:
config:
# Each level of invigoration on each piece of armor counts as a point, so if a player is wearing 4 pieces of armor all with Invigoration 3, then that would be 12 points
reduction-multiplier: 5 # In percent, so default is take 5% less damage per point
damage-multiplier: 2.5 # In percent, so default is deal 5% more damage per point
below-health: 5 # Activates below specified health
damage-multiplier: 2.5 # In percent, so default is deal 2.5% more damage per point
below-health: 5 # Activates below specified health