Skip to content

Commit 972bae2

Browse files
committed
silver effect reduces attack damage by 10% per level
1 parent 59d013b commit 972bae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/teamlapen/werewolves/effects/SilverEffect.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class SilverEffect extends WerewolfWeakeningEffect {
2222
private static final String DAMAGE = "67318644-855f-49ad-9c74-f310e270a7f5";
2323

2424
public SilverEffect() {
25-
super(0xC0C0C0, List.of(new Modifier(Attributes.MOVEMENT_SPEED, UUID.fromString(MOVEMENT_SPEED), "Silver effect", 0.15f), new Modifier(Attributes.ARMOR, UUID.fromString(ARMOR), "Silver effect", 0.15f), new Modifier(Attributes.ATTACK_DAMAGE, UUID.fromString(DAMAGE), "Silver effect", 0.075f, 1)));
25+
super(0xC0C0C0, List.of(new Modifier(Attributes.MOVEMENT_SPEED, UUID.fromString(MOVEMENT_SPEED), "Silver effect", 0.15f), new Modifier(Attributes.ARMOR, UUID.fromString(ARMOR), "Silver effect", 0.15f), new Modifier(Attributes.ATTACK_DAMAGE, UUID.fromString(DAMAGE), "Silver effect", 0.1f)));
2626
}
2727

2828
public static MobEffectInstance createSilverEffect(LivingEntity entity, int defaultDuration, int amplifier) {

0 commit comments

Comments
 (0)