1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +08:00

Fix: Override to disable submarine if stage don't allow submarine (#4668)

This commit is contained in:
LmeSzinc
2025-03-20 18:06:22 +08:00
parent fd6556d5b1
commit a55d7504f7

View File

@@ -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)