Autoscout
This commit is contained in:
@@ -14,4 +14,11 @@ def order_peasants(number):
|
||||
def select_town_center():
|
||||
pyautogui.press('h')
|
||||
time.sleep(WAIT4CLICK)
|
||||
|
||||
|
||||
def follow_points(points):
|
||||
pyautogui.keyDown('shift')
|
||||
for x,y in points:
|
||||
pyautogui.rightClick(x,y)
|
||||
time.sleep(WAIT4CLICK)
|
||||
pyautogui.keyUp('shift')
|
||||
pyautogui.move(-500, -500) # reset mouse
|
||||
Reference in New Issue
Block a user