1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 05:08:19 +08:00

Merge branch 'master' into dev

This commit is contained in:
LmeSzinc
2020-07-13 23:09:12 +08:00
7 changed files with 616 additions and 609 deletions

View File

@@ -280,6 +280,8 @@ class Combat(HPBalancer, EnemySearchingHandler, Retirement, SubmarineCall, Comba
Returns:
bool:
"""
if self.is_combat_executing():
return False
if self.appear_then_click(EXP_INFO_S):
self.device.sleep((0.25, 0.5))
return True

View File

@@ -119,16 +119,16 @@ class Retirement(Enhancement):
if self.config.RETIRE_SR or self.config.RETIRE_SSR or self.config.RETIREMENT_METHOD == 'one_click_retire':
if self.handle_popup_confirm():
continue
if self.appear_then_click(SHIP_CONFIRM, offset=30, interval=2):
if self.appear_then_click(SHIP_CONFIRM, offset=(30, 30), interval=2):
continue
if self.appear_then_click(SHIP_CONFIRM_2, offset=30, interval=2):
if self.appear_then_click(SHIP_CONFIRM_2, offset=(30, 30), interval=2):
continue
if self.appear_then_click(EQUIP_CONFIRM, offset=30, interval=2):
if self.appear_then_click(EQUIP_CONFIRM, offset=(30, 30), interval=2):
continue
if self.appear_then_click(EQUIP_CONFIRM_2, offset=30, interval=2):
if self.appear_then_click(EQUIP_CONFIRM_2, offset=(30, 30), interval=2):
executed = True
continue
if self.appear(GET_ITEMS_1, interval=0.5):
if self.appear(GET_ITEMS_1, offset=(30, 30)):
self.device.click(GET_ITEMS_1_RETIREMENT_SAVE)
self.interval_reset(SHIP_CONFIRM)
continue

File diff suppressed because it is too large Load Diff