mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-08 12:07:36 +08:00
Fix: Sync MOB_MOVE_OFFSET to campaign_15_base.py (#4122)
This commit is contained in:
parent
9abc30dbdb
commit
0f6a781c7e
@ -2,6 +2,7 @@ from module.base.mask import Mask
|
||||
from module.base.timer import Timer
|
||||
from module.campaign.campaign_base import CampaignBase as CampaignBase_
|
||||
from module.handler.assets import STRATEGY_OPENED
|
||||
from module.handler.strategy import MOB_MOVE_OFFSET
|
||||
from module.logger import logger
|
||||
from module.map.map_grids import SelectedGrids
|
||||
from module.map.utils import location_ensure
|
||||
@ -163,7 +164,7 @@ class CampaignBase(CampaignBase_):
|
||||
self.device.screenshot()
|
||||
|
||||
# End
|
||||
if self.appear(STRATEGY_OPENED, offset=(120, 120)):
|
||||
if self.appear(STRATEGY_OPENED, offset=MOB_MOVE_OFFSET):
|
||||
break
|
||||
# Click
|
||||
if interval.reached() and self.is_in_strategy_mob_move():
|
||||
|
Loading…
Reference in New Issue
Block a user