Skip to content

Commit

Permalink
fix: instance
Browse files Browse the repository at this point in the history
  • Loading branch information
moesnow committed Mar 16, 2024
1 parent 6460a46 commit 2341cde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions assets/docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- 在 “完整运行” 清体力前增加一次 “委托奖励检测” [#171](https://github.com/moesnow/March7thAssistant/pull/171)

### 修复
- 降低查找副本时的滚动速度
- 部分用户报错 “'cmd' 不是内部或外部命令...” 导致无法启动游戏
- 部分分辨率全屏状态判断异常 [#183](https://github.com/moesnow/March7thAssistant/pull/183)

Expand Down
4 changes: 2 additions & 2 deletions tasks/power/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ def func(): return auto.click_element(("传送", "进入", "追踪"), "min_dista
else:
def func(): return auto.click_element(("传送", "进入", "追踪"), "min_distance_text", crop=instance_name_crop, include=True, source=instance_name, source_type="text")

for i in range(6):
for i in range(10):
if func():
Flag = True
break
auto.mouse_scroll(18, -1)
auto.mouse_scroll(12, -1)
# 等待界面完全停止
time.sleep(1)
if not Flag:
Expand Down

0 comments on commit 2341cde

Please sign in to comment.