mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 09:17:22 +08:00
Fix: Force to finish all OS missions before accepting
This commit is contained in:
@@ -204,6 +204,9 @@ class OperationSiren(OSMap):
|
|||||||
supply = self.config.ENABLE_OS_SUPPLY_BUY \
|
supply = self.config.ENABLE_OS_SUPPLY_BUY \
|
||||||
and not self.config.record_executed_since(option=RECORD_SUPPLY_BUY, since=(0,))
|
and not self.config.record_executed_since(option=RECORD_SUPPLY_BUY, since=(0,))
|
||||||
if mission or supply:
|
if mission or supply:
|
||||||
|
# Force to clear all missions before accepting.
|
||||||
|
# Because players can only hold 7 mission, and unable to accept the same mission twice.
|
||||||
|
self.os_finish_daily_mission()
|
||||||
if self.os_port_daily(mission=mission, supply=supply):
|
if self.os_port_daily(mission=mission, supply=supply):
|
||||||
if mission:
|
if mission:
|
||||||
self.config.record_save(RECORD_MISSION_ACCEPT)
|
self.config.record_save(RECORD_MISSION_ACCEPT)
|
||||||
|
|||||||
Reference in New Issue
Block a user