Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. if(!g.battle){
  2. if (Math.abs(hero.x - ithx) <= 1 && Math.abs(hero.y - ithy) <= 1) {
  3. setTimeout(() => {
  4. _g("fight&a=attack&id=" + ater.id);
  5. }, 1000);
  6. posc = false;
  7. } else hero.sp(ithx, ithy);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement