Skip to content

Commit

Permalink
检验王者模拟战可以顺利进行.为新战令的到来做准备
Browse files Browse the repository at this point in the history
  • Loading branch information
cndaqiang committed Oct 24, 2024
1 parent 3f126d7 commit cf45922
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example/WZRY.node.对战前插入.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
self.jinristep >= 3: self.组队模式 = False
self.jinristep >= 3: self.totalnode = 1

# 第五局开始进行模拟战
self.对战模式 = "5v5匹配"
self.jinristep >= 5: self.对战模式 = "模拟战"


# 自动选择熟练度
字典位置文件=[]
Expand Down
1 change: 1 addition & 0 deletions wzry.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ def 单人进入人机匹配房间_模拟战(self, times=0):
# 不要管是否识别成功,就是按,后面加一个检测,没有检测成果就是按失败了,再返回即可
if self.Tool.existsTHENtouch(self.图片.大厅万象天工, "大厅万象天工", savepos=True):
sleep(2)
self.Tool.存在任一张图([self.图片.王者模拟战图标], "王者模拟战图标", savepos=True)
if self.Tool.existsTHENtouch(self.图片.王者模拟战图标, "王者模拟战图标", savepos=True):
sleep(2)
while self.Tool.existsTHENtouch(任意位置继续, "任意位置继续"):
Expand Down

0 comments on commit cf45922

Please sign in to comment.