refactor(meta): aether_for_wave 取 maxi 容忍无序阈值表(复审建议,编辑器手填更稳)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-21 11:58:11 +08:00
co-authored by Claude Opus 4.8
parent ca5ba75822
commit 958d53636c
+1 -1
View File
@@ -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 血量)