Skip to content

Commit

Permalink
营地体验币
Browse files Browse the repository at this point in the history
  • Loading branch information
cndaqiang committed Aug 30, 2024
1 parent e6c08ca commit cdad281
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added assets/tpl1725004412475.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions wzyd.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,16 @@ def 体验服礼物(self, times=1):
奖励兑换图标 = Template(r"tpl1704381904053.png", record_pos=(-0.209, -0.026), resolution=(540, 960))
self.Tool.existsTHENtouch(奖励兑换图标, "体验服奖励兑换图标", savepos=True)
sleep(5)
正在进入 = Template(r"tpl1725004412475.png", record_pos=(-0.004, -0.776), resolution=(540, 960))
奖励兑换网页图标 = Template(r"tpl1704381965060.png", rgb=True, target_pos=7, record_pos=(0.243, -0.496), resolution=(540, 960))
for i in range(10):
if exists(正在进入):
TimeECHO("正在进入体验服中....")
sleep(6*1.5) # 1.5分钟
else:
sleep(5)
if exists(奖励兑换网页图标):
break
if not self.Tool.existsTHENtouch(奖励兑换网页图标, "奖励兑换网页图标", savepos=False):
sleep(20)
if not self.Tool.existsTHENtouch(奖励兑换网页图标, "奖励兑换网页图标", savepos=False):
Expand Down

0 comments on commit cdad281

Please sign in to comment.