We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc3d625 commit ad4b3f6Copy full SHA for ad4b3f6
venv/Include/amusement/autoMove.py
@@ -0,0 +1,21 @@
1
+# -*- coding:utf-8 -*-
2
+# Author: zww
3
+# 英雄联盟自动刷人机
4
+import pyautogui as pag
5
+import time
6
+import random
7
+
8
+screenWidth, screenHeight = pag.size()
9
+#暂停10秒 进入LOL界面
10
+time.sleep(5)
11
+# print(str(screenWidth) + ' ;' + str(screenHeight))
12
+while True:
13
+ randdomWidth = random.randint(200, screenWidth-200)
14
+ randomHeight = random.randint(200, screenHeight-200)
15
+ print(str(randdomWidth) + ' ;' + str(randomHeight))
16
+ pag.moveTo(randdomWidth, randomHeight, 0.5)
17
+ # pag.click(button='right')
18
+ pag.typewrite('q')
19
+ time.sleep(5)
20
21
+# print(pag.position())
0 commit comments