虫虫教学

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 610|回复: 0

乱世曹操传代码

[复制链接]

8467

主题

8467

帖子

1万

积分

审核员

Rank: 7Rank: 7Rank: 7

积分
19994
发表于 2021-10-8 18:48:13 | 显示全部楼层 |阅读模式
1791神将自选盒子1792名将自选盒子
修改视屏
https://www.bilibili.com/video/av626061431/
刷青龙脚本


import time
import os

"""
刷青龙阵书脚本
os.system('adb shell input tap 1821 964')  # 菜单/自动打怪
os.system('adb shell input swipe 268 684 268 684 4000')  # 上
os.system('adb shell input swipe 404 817 404 817 4000')  # 右
os.system('adb shell input tap  1527 960')  # 策略
os.system('adb shell input swipe 931 828  931 33 1000')  # 上滑
os.system('adb shell input tap 1523 795')  # 轻行技
"""

class Demo():
    def map_1(self):
        time.sleep(0.1)
        os.system('adb shell input tap 1821 964')  # 菜单/自动打怪
        time.sleep(0.1)
        os.system('adb shell input tap  1527 960')  # 策略
        time.sleep(0.1)
        os.system('adb shell input swipe 931 828  931 33 1000')  # 上滑
        time.sleep(0.1)
        os.system('adb shell input tap 1523 795')  # 轻行技
        time.sleep(0.1)
        os.system('adb shell input swipe 404 817 404 817 4000')  # 右
    def map_2(self):
        time.sleep(0.1)
        os.system('adb shell input swipe 404 817 404 817 4000')  # 右
    def map_3(self):
        time.sleep(0.1)
        os.system('adb shell input swipe 268 684 268 684 4000')  # 上
    def map_4(self):
        time.sleep(0.1)
        os.system('adb shell input swipe 268 684 268 684 5000')  # 上
        time.sleep(0.1)
        os.system('adb shell input tap 1821 964')  # 菜单/自动打怪
        time.sleep(2)
        os.system('adb shell input tap 1821 964')  # 菜单/自动打怪
        time.sleep(3)
demo = Demo()
while True:
    demo.map_1()
    time.sleep(0.1)
    demo.map_2()
    time.sleep(0.1)
    demo.map_3()
    time.sleep(0.1)
    demo.map_4()
    time.sleep(0.1)
高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

QQ|Archiver|手机版|小黑屋|虫虫教学--虫虫联盟官网

GMT+8, 2025-6-17 03:58 , Processed in 0.093971 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表