Skip to content

Commit

Permalink
opt: skip claim expedition when area not found
Browse files Browse the repository at this point in the history
  • Loading branch information
infstellar committed Apr 29, 2023
1 parent 6ad1be9 commit ff95f98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions source/commission/commission_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def traverse_mondstant(self):
self.commission_dicts = []
commission_positions = []
ui_control.ensure_page(UIPages.page_bigmap)
genshin_map.get_bigmap_posi()
genshin_map._switch_to_area("Mondstadt")
for posi in self.TRAVERSE_MONDSTADT_POSITION:
genshin_map.get_bigmap_posi()
Expand Down
3 changes: 2 additions & 1 deletion source/task/claim_reward/claim_reward.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def reset_character():
break
i+=80
for area in [ButtonExpeditionMD, ButtonExpeditionLY, ButtonExpeditionDQ, ButtonExpeditionXM]:
itt.appear_then_click(area)
r = itt.appear_then_click(area)
if not r: continue
itt.delay("2animation")
reset_character()

Expand Down
5 changes: 3 additions & 2 deletions update_note.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
## TODO:
- time dilation rate
- i18n
- 传送点识别区域还是不够大
- domain 退出 识别错误
- combat sco shield与复活不兼容 考虑加入usd。
Expand All @@ -21,6 +19,9 @@
- combat lib识别受ui限制

## Done:
- time dilation rate
- i18n
- 支持无须弥人
- aim operator move to enemy按空格
- 让sco get_characters_name()在continue时获得charalist
- move straight在移动视角前按下了w
Expand Down

0 comments on commit ff95f98

Please sign in to comment.