mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 23:57:23 +08:00
Fix: Add offset argument to all uses of MAP_PREPARATION and FLEET_PREPARATION (#493)
This commit is contained in:
@@ -82,14 +82,14 @@ class Campaign(CampaignBase, HardEquipment):
|
||||
continue
|
||||
|
||||
# Map preparation
|
||||
if map_timer.reached() and self.appear(MAP_PREPARATION):
|
||||
if map_timer.reached() and self.appear(MAP_PREPARATION, offset=(20, 20)):
|
||||
self.device.click(MAP_PREPARATION)
|
||||
map_timer.reset()
|
||||
campaign_timer.reset()
|
||||
continue
|
||||
|
||||
# Fleet preparation
|
||||
if fleet_timer.reached() and self.appear(FLEET_PREPARATION):
|
||||
if fleet_timer.reached() and self.appear(FLEET_PREPARATION, offset=(20, 20)):
|
||||
self.equipment_take_off()
|
||||
self.ui_back(check_button=CAMPAIGN_CHECK, appear_button=FLEET_PREPARATION)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user