NPC Code: function doSword() { if(abs(this.dx)<=2.3&&abs(this.dy)<=2.3){ checkDir(); setcharani sword,; sleep.5; } }
function doSword() { if(abs(this.dx)<=2.3&&abs(this.dy)<=2.3){ checkDir(); setcharani sword,; sleep.5; } }