diff --git a/arknights_mower/__main__.py b/arknights_mower/__main__.py index 7f4140eba..0efb57cdb 100644 --- a/arknights_mower/__main__.py +++ b/arknights_mower/__main__.py @@ -115,6 +115,7 @@ def initialize(tasks, scheduler=None): maa_config['maa_adb'] = conf['adb'] maa_config['weekly_plan'] = conf['maa_weekly_plan'] maa_config['roguelike'] = conf['maa_rg_enable'] == 1 + maa_config['rogue_theme'] = conf['maa_rg_theme'] maa_config['sleep_min'] = conf['maa_rg_sleep_min'] maa_config['sleep_max'] = conf['maa_rg_sleep_max'] maa_config['maa_execution_gap'] = conf['maa_gap'] diff --git a/arknights_mower/solvers/base_schedule.py b/arknights_mower/solvers/base_schedule.py index 4a5ced9ad..50210a4e0 100644 --- a/arknights_mower/solvers/base_schedule.py +++ b/arknights_mower/solvers/base_schedule.py @@ -1956,7 +1956,7 @@ def maa_plan_solver(self, tasks='All', one_time=False): 'stop_when_investment_full': False, 'squad': '指挥分队', 'roles': '取长补短', - 'theme': 'Mizuki', + 'theme': self.maa_config['rogue_theme'], 'core_char': '' }) elif self.maa_config['reclamation_algorithm']: diff --git a/arknights_mower/templates/conf.yml b/arknights_mower/templates/conf.yml index f5a155854..72f8bd2e2 100644 --- a/arknights_mower/templates/conf.yml +++ b/arknights_mower/templates/conf.yml @@ -70,3 +70,4 @@ theme: light maa_conn_preset: General maa_touch_option: maatouch maa_credit_fight: true +maa_rg_theme: Mizuki