mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 14:27:00 +08:00
Fix: Override to disable submarine if stage don't allow submarine (#4668)
This commit is contained in:
@@ -344,10 +344,14 @@ class FleetPreparation(InfoHandler):
|
||||
|
||||
# Check if submarine is empty again.
|
||||
if submarine.allow():
|
||||
logger.attr('map_allow_submarine', True)
|
||||
if self.config.Submarine_Fleet:
|
||||
pass
|
||||
else:
|
||||
submarine.clear()
|
||||
else:
|
||||
logger.attr('map_allow_submarine', False)
|
||||
self.config.SUBMARINE = 0
|
||||
|
||||
if self.appear(FLEET_1_CLEAR, offset=(-20, -80, 20, 5)):
|
||||
AUTO_SEARCH_SET_MOB.load_offset(FLEET_1_CLEAR)
|
||||
|
||||
Reference in New Issue
Block a user