diff --git a/bridge/src/index.js b/bridge/src/index.js index ca36d23..eb841f2 100644 --- a/bridge/src/index.js +++ b/bridge/src/index.js @@ -583,6 +583,7 @@ async function handleAction(action, params = {}) { if (hostiles.length === 0) return { attacked: false, reason: 'no_hostiles' }; hostiles.sort((a, b) => a.dist - b.dist); const target = hostiles[0].entity; + log('client', 'INFO', `Engaging ${target.name || target.type} (id=${target.id}, dist=${hostiles[0].dist.toFixed(1)}, gameMode=${bot.game?.gameMode})`); // Sustained combat: keep attacking until target is dead or out of range let hits = 0;