From 5f8762d158549110808663fe9a211e6c89280f48 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sun, 1 Jan 2023 11:37:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=A4=E5=AE=B3=E5=BC=B9?= =?UTF-8?q?=E5=87=BA=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/project/plugins.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/project/plugins.js b/public/project/plugins.js index 467ed86..2288f36 100644 --- a/public/project/plugins.js +++ b/public/project/plugins.js @@ -4557,7 +4557,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { var damage = core.status.checkBlock.damage[loc]; if (damage) { if (!main.replayChecking) - core.addPop(x * 32 + 12, y * 32 + 20, damage); + core.addPop( + (x - core.bigmap.offsetX / 32) * 32 + 12, + (y - core.bigmap.offsetY / 32) * 32 + 20, + damage + ); core.status.hero.hp -= damage; var text = Object.keys(core.status.checkBlock.type[loc] || {}).join(