mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
feat: 抄作业不支持的关卡,新增界面提示
This commit is contained in:
@@ -25,6 +25,10 @@ bool asst::BattleProcessTask::_run()
|
||||
bool ret = get_stage_info();
|
||||
|
||||
if (!ret) {
|
||||
json::value info = basic_info_with_what("UnsupportedLevel");
|
||||
auto& details = info["details"];
|
||||
details["level"] = m_stage_name;
|
||||
callback(AsstMsg::SubTaskExtraInfo, info);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user