mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 12:17:20 +08:00
Fix: OpSi functions was called recursively when it triggers a fleet repair in obscure zone
- Fix: Unable to goto other zones if fleet in in a special zone
This commit is contained in:
@@ -99,6 +99,13 @@ class OSMapOperation(MapOrderHandler, MissionHandler, PortHandler, StorageHandle
|
||||
logger.attr('Zone', self.zone)
|
||||
return self.zone
|
||||
|
||||
def is_in_special_zone(self):
|
||||
"""
|
||||
Returns:
|
||||
bool: If in an obscure zone, abyssal zone, or stronghold.
|
||||
"""
|
||||
return self.appear(MAP_EXIT, offset=(20, 20))
|
||||
|
||||
def map_exit(self, skip_first_screenshot=True):
|
||||
"""
|
||||
Exit from an obscure zone, abyssal zone, or stronghold.
|
||||
|
||||
Reference in New Issue
Block a user