From 958d53636c1973b299c233af3a85533a07d193d8 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Tue, 21 Jul 2026 11:58:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor(meta):=20aether=5Ffor=5Fwave=20?= =?UTF-8?q?=E5=8F=96=20maxi=20=E5=AE=B9=E5=BF=8D=E6=97=A0=E5=BA=8F?= =?UTF-8?q?=E9=98=88=E5=80=BC=E8=A1=A8=EF=BC=88=E5=A4=8D=E5=AE=A1=E5=BB=BA?= =?UTF-8?q?=E8=AE=AE=EF=BC=8C=E7=BC=96=E8=BE=91=E5=99=A8=E6=89=8B=E5=A1=AB?= =?UTF-8?q?=E6=9B=B4=E7=A8=B3=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- scripts/autoloads/settings_manager.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/autoloads/settings_manager.gd b/scripts/autoloads/settings_manager.gd index 333be4a..a897ad8 100644 --- a/scripts/autoloads/settings_manager.gd +++ b/scripts/autoloads/settings_manager.gd @@ -58,7 +58,7 @@ func aether_for_wave(wave: int) -> int: var result: int = 0 for entry in table: if entry is Array and entry.size() >= 2 and int(entry[0]) <= wave: - result = int(entry[1]) + result = maxi(result, int(entry[1])) # 取 ≤wave 阶梯中的最大值,容忍无序表(设计师手填不必排序) return result ## 数据驱动:加载 balance.json(难度乘子 + Boss 血量)