Browse Source

improved performance by including the highest branch

master
Pixdigit 4 years ago
parent
commit
12af4bdced
  1. 2
      main.py

2
main.py

@ -11,7 +11,7 @@ try:
pushes = []
time.sleep(0.14)
img = screenshot.grab((662, 121, 1260, 1080))
left_img_pxls = [img.getpixel((230, 97 + 51 + i * 100)) for i in range(5)]
left_img_pxls = [img.getpixel((230, 48 + i * 100)) for i in range(6)]
#right_img_pxls = [img.getpixel(369, 97 + 51 + i * 100) for i in range(5)]
for pxl in left_img_pxls:
if pxl == (161, 116, 56):

Loading…
Cancel
Save