mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-07 01:05:32 +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.
|
# Check if submarine is empty again.
|
||||||
if submarine.allow():
|
if submarine.allow():
|
||||||
|
logger.attr('map_allow_submarine', True)
|
||||||
if self.config.Submarine_Fleet:
|
if self.config.Submarine_Fleet:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
submarine.clear()
|
submarine.clear()
|
||||||
|
else:
|
||||||
|
logger.attr('map_allow_submarine', False)
|
||||||
|
self.config.SUBMARINE = 0
|
||||||
|
|
||||||
if self.appear(FLEET_1_CLEAR, offset=(-20, -80, 20, 5)):
|
if self.appear(FLEET_1_CLEAR, offset=(-20, -80, 20, 5)):
|
||||||
AUTO_SEARCH_SET_MOB.load_offset(FLEET_1_CLEAR)
|
AUTO_SEARCH_SET_MOB.load_offset(FLEET_1_CLEAR)
|
||||||
|
|||||||
Reference in New Issue
Block a user