diff --git a/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/CripplingEnchantmentEffect.java b/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/CripplingEnchantmentEffect.java index 638d90d..e03102a 100644 --- a/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/CripplingEnchantmentEffect.java +++ b/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/CripplingEnchantmentEffect.java @@ -24,7 +24,7 @@ public record CripplingEnchantmentEffect(LevelBasedValue duration) implements En public void apply(ServerLevel world, int level, EnchantedItemInUse context, Entity target, Vec3 pos) { if (target instanceof LivingEntity victim) { if (context.owner() != null && context.owner() instanceof Player player) { - int Duration = (int) (this.duration.calculate(level) * 40); // Convert to ticks + int Duration = (int) (this.duration.calculate(level) * 50); // Convert to ticks victim.addEffect(new MobEffectInstance( MobEffects.SLOWNESS, Duration, diff --git a/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/PoisonEnchantmentEffect.java b/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/PoisonEnchantmentEffect.java index 4d86f10..b89b9f2 100644 --- a/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/PoisonEnchantmentEffect.java +++ b/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/PoisonEnchantmentEffect.java @@ -24,7 +24,7 @@ public record PoisonEnchantmentEffect(LevelBasedValue duration) implements Encha public void apply(ServerLevel world, int level, EnchantedItemInUse context, Entity target, Vec3 pos) { if (target instanceof LivingEntity victim) { if (context.owner() != null && context.owner() instanceof Player player) { - int poisonDuration = (int) (this.duration.calculate(level) * 40); // Convert to ticks + int poisonDuration = (int) (this.duration.calculate(level) * 50); // Convert to ticks victim.addEffect(new MobEffectInstance( MobEffects.POISON, diff --git a/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/WitheringEnchantmentEffect.java b/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/WitheringEnchantmentEffect.java index 470f667..7552bfe 100644 --- a/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/WitheringEnchantmentEffect.java +++ b/src/main/java/dev/sillyangel/more_spear_enchantments/enchantment/effect/WitheringEnchantmentEffect.java @@ -24,7 +24,7 @@ public record WitheringEnchantmentEffect(LevelBasedValue duration) implements En public void apply(ServerLevel world, int level, EnchantedItemInUse context, Entity target, Vec3 pos) { if (target instanceof LivingEntity victim) { if (context.owner() != null && context.owner() instanceof Player player) { - int witherDuration = (int) (this.duration.calculate(level) * 40); // Convert to ticks + int witherDuration = (int) (this.duration.calculate(level) * 50); // Convert to ticks victim.addEffect(new MobEffectInstance( MobEffects.WITHER,