mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-31 19:20:34 +08:00
Add: 适配第一章, 修复大量bug
- 修复处理夜间委托时, 出现递归调用的问题 - 增加红脸出击确认的功能 - 增加了透视识别错误图片保存的开关 - 修复了地图太小时, 透视识别报错的问题 - 修复了相机位于地图外时, 透视识别出错的问题 - 修复了离开退役时, 会连击的问题 - 修复了同时出现低心情和船坞已满弹窗时, 卡住的问题 - 更新了一键退役实装后的安全点击的位置 - 修复了换装滑动失败时, 卡住的问题 - 修复了关闭自动收获后, 出现委托完成的提示是, 进图卡住的问题 - 修复了, 无正在跑的委托时, 报错的问题
This commit is contained in:
@@ -4,7 +4,7 @@ from module.combat.assets import GET_ITEMS_1
|
||||
from module.handler.info_bar import InfoBarHandler
|
||||
from module.logger import logger
|
||||
from module.retire.assets import *
|
||||
from module.ui.ui import UI, BACK_ARROW
|
||||
from module.ui.ui import UI
|
||||
|
||||
CARD_GRIDS = ButtonGrid(origin=(93, 76), delta=(164 + 2 / 3, 227), button_shape=(138, 204), grid_shape=(7, 2), name='CARD')
|
||||
CARD_RARITY_GRIDS = ButtonGrid(origin=(93, 76), delta=(164 + 2 / 3, 227), button_shape=(138, 5), grid_shape=(7, 2), name='RARITY')
|
||||
@@ -141,20 +141,11 @@ class Retirement(UI, InfoBarHandler):
|
||||
and self.appear(RETIRE_APPEAR_2, offset=30) \
|
||||
and self.appear(RETIRE_APPEAR_3, offset=30)
|
||||
|
||||
def _retirement_quit_check_func(self):
|
||||
return not self.appear(IN_RETIREMENT_CHECK)
|
||||
|
||||
def _retirement_quit(self):
|
||||
skip = True
|
||||
while 1:
|
||||
if skip:
|
||||
skip = False
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
# End
|
||||
if not self.appear(IN_RETIREMENT_CHECK):
|
||||
break
|
||||
|
||||
if self.appear_then_click(BACK_ARROW, offset=(20, 20)):
|
||||
continue
|
||||
self.ui_back(check_button=self._retirement_quit_check_func, skip_first_screenshot=True)
|
||||
|
||||
@property
|
||||
def _retire_amount(self):
|
||||
|
||||
Reference in New Issue
Block a user