Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!g.battle){
- if (Math.abs(hero.x - ithx) <= 1 && Math.abs(hero.y - ithy) <= 1) {
- setTimeout(() => {
- _g("fight&a=attack&id=" + ater.id);
- }, 1000);
- posc = false;
- } else hero.sp(ithx, ithy);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement