From 87de6cb10879f43d6adb84ae4b0b30a00ff760f5 Mon Sep 17 00:00:00 2001 From: rizkyaz0 Date: Thu, 1 Oct 2026 12:25:11 +0700 Subject: [PATCH] Bro Wo: hapus pohon tempelan di tangan saat mengamuk (aura dan bonus tetap) --- game.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/game.js b/game.js index 2f8d0e1..212d92c 100644 --- a/game.js +++ b/game.js @@ -1642,15 +1642,6 @@ const a = key === 'player' ? hero : dummy; if (!bwAlive(a)) continue; const pulse = .75 + Math.sin(realTime * 9) * .25, g = ctx.createRadialGradient(a.x, a.y - 80, 8, a.x, a.y - 80, 125); g.addColorStop(0, `rgba(255,110,40,${.42 * pulse})`); g.addColorStop(1, 'rgba(255,60,20,0)'); ctx.fillStyle = g; ctx.beginPath(); ctx.arc(a.x, a.y - 80, 125, 0, 7); ctx.fill(); - if (im) { - // The club: a palm tree held in the front hand, leaning back at rest and swinging through every attack. - let ang = -.38; const act = a.action; - if (act && act.type === 'attack') { const p = clamp(act.t / act.duration, 0, 1), e = 1 - Math.pow(1 - p, 2); ang = -1.15 + (act.index === 2 ? 2.7 : 2.3) * e; } - else if (act && act.type === 'skill1') { const p = clamp(act.t / act.duration, 0, 1); ang = -.9 + 2.2 * p * p; } - else if (act) ang = -.2; - const h = 190, w = im.width / im.height * h; - ctx.save(); ctx.translate(a.x + a.facing * 34, a.y - 72); ctx.rotate(a.facing * ang); ctx.drawImage(im, -w / 2, -h + 14, w, h); ctx.restore(); - } if (Math.sin(realTime * 40) > .6) spawnParticles(a.x + (random() - .5) * 50, a.y - 40 - random() * 80, '#ff8a3a', 1, 80); } }