mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-03-12 13:39:06 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
9e82fc99dd
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user