Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加maa肉鸽分队,增加maa领奖励参数设置 #713

Merged
merged 4 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion arknights_mower/solvers/base_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -3324,7 +3324,7 @@ def initialize_maa(self):
raise Exception("MAA 连接失败")

def append_maa_task(self, type):
if type in ["StartUp", "Visit", "Award"]:
if type in ["StartUp", "Visit"]:
self.MAA.append_task(type)
elif type == "Fight":
conf = config.conf
Expand Down Expand Up @@ -3372,6 +3372,19 @@ def append_maa_task(self, type):
"force_shopping_if_credit_full": conf.maa_mall_ignore_blacklist_when_full,
},
)
elif type == "Award":
conf = config.conf
self.MAA.append_task(
"Award",
{
"award": True,
"mail": False,
"recruit": False,
"orundum": False,
"mining": False,
"specialaccess": False,
},
)

def maa_plan_solver(self, tasks="All", one_time=False):
"""清日常"""
Expand Down
3 changes: 3 additions & 0 deletions ui/src/components/MaaRogue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ const squad = {
'魂灵护送',
'博闻广记',
'蓝图测绘',
'异想天开',
'点刺成锭',
'拟态学者',
'指挥',
'集群',
'后勤',
Expand Down
Loading