From fdf265df79ab3e8776e45f2ab06c5900880ed95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Thu, 10 Sep 2026 19:29:40 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=A0=E9=99=A4=20microDrawChests?= =?UTF-8?q?=20=E4=B8=AD=E7=9A=84=E6=AD=BB=E4=BB=A3=E7=A0=81=EF=BC=88glow?= =?UTF-8?q?=20=E5=8F=98=E9=87=8F=E4=B8=8E=20microChestGlow=20=E5=87=BD?= =?UTF-8?q?=E6=95=B0=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- world.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/world.html b/world.html index 045ff9e..fe2411e 100644 --- a/world.html +++ b/world.html @@ -2821,9 +2821,6 @@ function microChestIcon(t) { function microChestColor(t) { return ({ copper: '#c8854a', silver: '#cfd6e0', gold: '#ffd23f', diamond: '#7ad7ff' })[t] || '#ffd23f'; } -function microChestGlow(tier) { - return ({ common: '#9aa4b2', rare: '#4aa3ff', epic: '#b46bff', legendary: '#ffb13f' })[tier] || '#9aa4b2'; -} function microChestEmoji(tier) { return ({ common: '📦', rare: '🎁', epic: '🧰', legendary: '💠' })[tier] || '📦'; } @@ -2859,7 +2856,6 @@ function microDrawChests(c) { const t = microState.animTime; microChests.forEach(ch => { const sp = microCellToScreen(ch.cell_i + 0.5, ch.cell_j + 0.5); - const glow = microChestGlow(ch.tier); // 主体:优先使用俯视图 PNG,未加载成功则回退 emoji const imgUrl = microChestTopImage(ch.tier); const img = imgUrl ? getChestImage(imgUrl) : null;