fix: 血瓶数据处理

This commit is contained in:
unanmed 2025-04-30 21:08:50 +08:00
parent dc1eb8fa92
commit 1cded87530

View File

@ -189,7 +189,7 @@ function convert(
} }
} else if (dict.potion[tile] !== void 0) { } else if (dict.potion[tile] !== void 0) {
const value = dict.potion[tile]; const value = dict.potion[tile];
if (maxGreenGem - minGreenGem < 1e-8) { if (maxPotion - minPotion < 1e-8) {
res[ny][nx] = 19; res[ny][nx] = 19;
} else { } else {
const level = Math.min( const level = Math.min(