refactor(meta): aether_for_wave 取 maxi 容忍无序阈值表(复审建议,编辑器手填更稳)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -58,7 +58,7 @@ func aether_for_wave(wave: int) -> int:
|
|||||||
var result: int = 0
|
var result: int = 0
|
||||||
for entry in table:
|
for entry in table:
|
||||||
if entry is Array and entry.size() >= 2 and int(entry[0]) <= wave:
|
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
|
return result
|
||||||
|
|
||||||
## 数据驱动:加载 balance.json(难度乘子 + Boss 血量)
|
## 数据驱动:加载 balance.json(难度乘子 + Boss 血量)
|
||||||
|
|||||||
Reference in New Issue
Block a user