// ==UserScript== // @name Autodobieganie do herosa i chuij // @namespace http://tampermonkey.net/ // @version 0.1 // @description dobiegnie i tyle // @author czarny // @match https://*.margonem.pl/ // @grant none // ==/UserScript== (() => { setInterval(() => { const npcsObj = Engine.npcs.check(); const npcs = Array.isArray(npcsObj) ? npcsObj : Object.values(npcsObj); if (Engine.battle.endBattle) return; npcs.forEach(npc => { if (npc.d?.wt > 70) { Engine.hero.autoGoTo({ x: npc.d.x, y: npc.d.y }); } }); }, 200); })();