Upd(os): 添加在merge中丢失的修改

This commit is contained in:
W1NDes 2026-01-29 20:59:18 +08:00
parent 063c06e950
commit 39aa03ca82
2 changed files with 7 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class OpsiAbyssal(OSMap):
self.zone_init()
result = self.run_abyssal()
if not result:
raise RequestHumanTakeover
self.map_exit()
self.fleet_repair(revert=False)
self.delay_abyssal()

View File

@ -36,6 +36,12 @@ class OpsiShop(OSMap):
self.config.task_delay(target=next_reset)
self.config.task_stop()
def os_voucher_buy_loggerUnlock(self):
logger.hr('OS voucher buy loggerUnlock', level=1)
self._os_voucher_enter()
VoucherShop(self.config, self.device).run_loggerUnlock()
self._os_voucher_exit()
def _os_shop_delay(self, not_empty) -> datetime:
"""
Calculate the delay of OpsiShop.