mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 13:57:26 +08:00
Upd: move meta_reward execution as subtask under OpsiAshBeacon and AshBeaconAssist
This commit is contained in:
@@ -3,6 +3,7 @@ from enum import Enum
|
||||
import module.config.server as server
|
||||
from module.combat.combat import BATTLE_PREPARATION
|
||||
from module.logger import logger
|
||||
from module.meta_reward.meta_reward import MetaReward
|
||||
from module.ocr.ocr import DigitCounter, Digit
|
||||
from module.os_ash.ash import AshCombat
|
||||
from module.os_ash.assets import *
|
||||
@@ -374,7 +375,7 @@ class OpsiAshBeacon(Meta):
|
||||
|
||||
with self.config.multi_set():
|
||||
if self._meta_receive_count > 0:
|
||||
self.config.task_call('MetaReward', force_call=False)
|
||||
MetaReward(self.config, self.device).run()
|
||||
self.config.task_delay(server_update=True)
|
||||
|
||||
|
||||
@@ -478,4 +479,5 @@ class AshBeaconAssist(Meta):
|
||||
def run(self):
|
||||
self.ui_ensure(page_reward)
|
||||
self._begin_meta_assist()
|
||||
MetaReward(self.config, self.device).run()
|
||||
self.config.task_delay(server_update=True)
|
||||
|
||||
Reference in New Issue
Block a user