mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 15:35:55 +08:00
Fix: [EN] restore previous conditional only for EN, as POPUP_CONFIRM is not the same (uses lowercase and scaling).
Other servers maintain current handle_popup_confirm methodology
This commit is contained in:
@@ -124,6 +124,9 @@ 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('RETIRE_SR_SSR'):
|
||||
continue
|
||||
if self.config.SERVER == 'en' and \
|
||||
self.appear_then_click(SR_SSR_CONFIRM, offset=self._popup_offset, interval=2):
|
||||
continue
|
||||
if self.appear_then_click(SHIP_CONFIRM, offset=(30, 30), interval=2):
|
||||
continue
|
||||
if self.appear_then_click(SHIP_CONFIRM_2, offset=(30, 30), interval=2):
|
||||
|
||||
Reference in New Issue
Block a user