mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-09 05:47:30 +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.base.timer import Timer
|
||||||
from module.campaign.campaign_base import CampaignBase as CampaignBase_
|
from module.campaign.campaign_base import CampaignBase as CampaignBase_
|
||||||
from module.handler.assets import STRATEGY_OPENED
|
from module.handler.assets import STRATEGY_OPENED
|
||||||
|
from module.handler.strategy import MOB_MOVE_OFFSET
|
||||||
from module.logger import logger
|
from module.logger import logger
|
||||||
from module.map.map_grids import SelectedGrids
|
from module.map.map_grids import SelectedGrids
|
||||||
from module.map.utils import location_ensure
|
from module.map.utils import location_ensure
|
||||||
@ -163,7 +164,7 @@ class CampaignBase(CampaignBase_):
|
|||||||
self.device.screenshot()
|
self.device.screenshot()
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if self.appear(STRATEGY_OPENED, offset=(120, 120)):
|
if self.appear(STRATEGY_OPENED, offset=MOB_MOVE_OFFSET):
|
||||||
break
|
break
|
||||||
# Click
|
# Click
|
||||||
if interval.reached() and self.is_in_strategy_mob_move():
|
if interval.reached() and self.is_in_strategy_mob_move():
|
||||||
|
Loading…
Reference in New Issue
Block a user