Skip to content

Commit

Permalink
添加肉鸽主题配置
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoZuohong committed Jul 16, 2023
1 parent 7d97f9f commit 402f001
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions arknights_mower/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
2 changes: 1 addition & 1 deletion arknights_mower/solvers/base_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']:
Expand Down
1 change: 1 addition & 0 deletions arknights_mower/templates/conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ theme: light
maa_conn_preset: General
maa_touch_option: maatouch
maa_credit_fight: true
maa_rg_theme: Mizuki

0 comments on commit 402f001

Please sign in to comment.