Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name bicie e2, heros
- // @description atakuje e2 i heros
- // @version 21.37
- // @author gapet
- // @match http://*.margonem.pl/
- // ==/UserScript==
- ((npc) => {
- setInterval(() => {
- npc.forEach(id => {
- if(!g.battle){
- if((id.nick == 'Negthotep Czarny Kapłan')|| (id.wt>79 && id.wt<99) ||(id.nick == 'Chopesz' && id.fake != true) || (id.nick == 'Chopesz' && id.fake != true) ||(id.wt>19 && id.wt<78 && id.fake != true && (hero.lvl - id.lvl <=13))
- ){
- hero.margoMove(id.x,id.y)
- if((Math.abs(hero.x - id.x)<=1) && (Math.abs(hero.y - id.y)<=1)){
- setTimeout(_g(`fight&a=attack&ff=1&id=-${id.id}`),200)
- }
- }
- }
- }
- )
- }, 500)
- })(g.npc)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement