mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Fix: Radar prediction out of view when going to port
Limit port in camera sight - Opt: Increase click interval of ZONE_ENTRANCE, because it's slow to load
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import numpy as np
|
||||
|
||||
from module.base.timer import Timer
|
||||
from module.base.utils import *
|
||||
from module.logger import logger
|
||||
from module.map.fleet import Fleet
|
||||
from module.map.map_grids import SelectedGrids
|
||||
@@ -194,6 +193,7 @@ class OSFleet(OSCamera, Combat, Fleet, OSAsh):
|
||||
logger.info('Arrive port')
|
||||
break
|
||||
|
||||
port = point_limit(port, area=(-4, -2, 3, 2))
|
||||
port = view[np.add(port, view.center_loca)]
|
||||
self.device.click(port)
|
||||
prev = (0, 0)
|
||||
|
||||
Reference in New Issue
Block a user