mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Fix: Use template matching on SIREN_PREPARATION
This commit is contained in:
@@ -22,7 +22,7 @@ class Combat(Combat_, MapEventHandler):
|
|||||||
|
|
||||||
if self.appear(BATTLE_PREPARATION):
|
if self.appear(BATTLE_PREPARATION):
|
||||||
return True
|
return True
|
||||||
if self.appear(SIREN_PREPARATION):
|
if self.appear(SIREN_PREPARATION, offset=(20, 20)):
|
||||||
return True
|
return True
|
||||||
if self.appear(BATTLE_PREPARATION_WITH_OVERLAY) and self.handle_combat_automation_confirm():
|
if self.appear(BATTLE_PREPARATION_WITH_OVERLAY) and self.handle_combat_automation_confirm():
|
||||||
return True
|
return True
|
||||||
@@ -62,7 +62,7 @@ class Combat(Combat_, MapEventHandler):
|
|||||||
# continue
|
# continue
|
||||||
if self.appear_then_click(BATTLE_PREPARATION, interval=2):
|
if self.appear_then_click(BATTLE_PREPARATION, interval=2):
|
||||||
continue
|
continue
|
||||||
if self.appear_then_click(SIREN_PREPARATION, interval=2):
|
if self.appear_then_click(SIREN_PREPARATION, offset=(20, 20), interval=2):
|
||||||
continue
|
continue
|
||||||
if self.handle_popup_confirm('ENHANCED_ENEMY'):
|
if self.handle_popup_confirm('ENHANCED_ENEMY'):
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user