From 6ac7420908c4e6f7f3f331108bbf10232c3d78e2 Mon Sep 17 00:00:00 2001 From: Atsuihsio <842960157@qq.com> Date: Sun, 22 Dec 2024 06:21:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86perk=E7=AD=89=E7=BA=A7=E4=B8=8A?= =?UTF-8?q?=E9=99=90=E6=8F=90=E5=8D=87=E5=88=B050=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../superbwarfare/client/screens/ReforgingTableScreen.java | 6 +++--- .../atsuishio/superbwarfare/menu/ReforgingTableMenu.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/client/screens/ReforgingTableScreen.java b/src/main/java/com/atsuishio/superbwarfare/client/screens/ReforgingTableScreen.java index 6882434bc..f1eb22d7d 100644 --- a/src/main/java/com/atsuishio/superbwarfare/client/screens/ReforgingTableScreen.java +++ b/src/main/java/com/atsuishio/superbwarfare/client/screens/ReforgingTableScreen.java @@ -143,17 +143,17 @@ public class ReforgingTableScreen extends AbstractContainerScreen { - if (ReforgingTableScreen.this.menu.ammoPerkLevel.get() >= 10) { + if (ReforgingTableScreen.this.menu.ammoPerkLevel.get() >= 50) { return; } } case FUNCTIONAL -> { - if (ReforgingTableScreen.this.menu.funcPerkLevel.get() >= 10) { + if (ReforgingTableScreen.this.menu.funcPerkLevel.get() >= 50) { return; } } case DAMAGE -> { - if (ReforgingTableScreen.this.menu.damagePerkLevel.get() >= 10) { + if (ReforgingTableScreen.this.menu.damagePerkLevel.get() >= 50) { return; } } diff --git a/src/main/java/com/atsuishio/superbwarfare/menu/ReforgingTableMenu.java b/src/main/java/com/atsuishio/superbwarfare/menu/ReforgingTableMenu.java index 40c360269..b1bfb9f71 100644 --- a/src/main/java/com/atsuishio/superbwarfare/menu/ReforgingTableMenu.java +++ b/src/main/java/com/atsuishio/superbwarfare/menu/ReforgingTableMenu.java @@ -184,11 +184,11 @@ public class ReforgingTableMenu extends AbstractContainerMenu { switch (type) { case AMMO -> - this.ammoPerkLevel.set(upgrade ? Math.min(10, this.ammoPerkLevel.get() + 1) : Math.max(1, this.ammoPerkLevel.get() - 1)); + this.ammoPerkLevel.set(upgrade ? Math.min(50, this.ammoPerkLevel.get() + 1) : Math.max(1, this.ammoPerkLevel.get() - 1)); case FUNCTIONAL -> - this.funcPerkLevel.set(upgrade ? Math.min(10, this.funcPerkLevel.get() + 1) : Math.max(1, this.funcPerkLevel.get() - 1)); + this.funcPerkLevel.set(upgrade ? Math.min(50, this.funcPerkLevel.get() + 1) : Math.max(1, this.funcPerkLevel.get() - 1)); case DAMAGE -> - this.damagePerkLevel.set(upgrade ? Math.min(10, this.damagePerkLevel.get() + 1) : Math.max(1, this.damagePerkLevel.get() - 1)); + this.damagePerkLevel.set(upgrade ? Math.min(50, this.damagePerkLevel.get() + 1) : Math.max(1, this.damagePerkLevel.get() - 1)); } if (!isCreative) {