#! python3
# -*- coding: utf-8 -*-
import pyautogui,time
def entry_choice():
pyautogui.click(1694, 460)
print('进入万象天工')
time.sleep(1)
pyautogui.dragRel(-1000, 0, duration=0.5)
print('拖动找到冒险模式')
time.sleep(1)
pyautogui.click(1550,330)
print('进入冒险之旅')
time.sleep(1)
pyautogui.click(1390, 470)
print('点击挑战')
time.sleep(1)
pyautogui.click(1680, 525)
print('下一步')
time.sleep(1)
pyautogui.click(1645, 505)
print('闯关')
time.sleep(70)
pyautogui.click(1851, 71)
print('跳过')
time.sleep(15)
pyautogui.click(1400, 555)
print('点击继续')
time.sleep(3)
def repeat_change():
pyautogui.click(1750, 570)
print('再次挑战')
time.sleep(5)
pyautogui.click(1645, 505)
print('闯关')
time.sleep(80)
pyautogui.click(1851, 71)
print('跳过')
time.sleep(15)
pyautogui.click(1400, 555)
print('点击继续')
time.sleep(3)
repeat_change()
if __name__ == '__main__':
entry_choice()
repeat_change()
屏幕坐标和时间需要自己调整适配
网友评论