attack program - new

This commit is contained in:
kepler155c
2018-11-23 16:19:40 -05:00
parent cf39d1d74c
commit 4774b6b504

View File

@@ -84,7 +84,9 @@ while true do
os.sleep(3)
else
Point.eachClosest(turtle.point, mobs, function(b)
repeat until not turtle.attackAt(b)
if turtle.faceAgainst(b) then
repeat until not turtle.attack()
end
end)
end