mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
feat: 支持一些深入调查模式,支持一些图的 copilot
This commit is contained in:
@@ -16,5 +16,14 @@
|
||||
3
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"stage_name": "压轴登场",
|
||||
"replacement_home": [
|
||||
[
|
||||
2,
|
||||
3
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -5488,7 +5488,14 @@
|
||||
"Roguelike1LastRewardRand",
|
||||
"Roguelike1Team3",
|
||||
"Roguelike1CloseCollection",
|
||||
"Roguelike1DialogSkip"
|
||||
"Roguelike1DialogSkip",
|
||||
"Roguelike1StageTrader",
|
||||
"Roguelike1StageSafeHouse",
|
||||
"Roguelike1StageEncounter",
|
||||
"Roguelike1StageBoons",
|
||||
"Roguelike1StageCambatDps",
|
||||
"Roguelike1StageEmergencyDps",
|
||||
"Roguelike1StageDreadfulFoe"
|
||||
]
|
||||
},
|
||||
"Roguelike1CloseCollection": {
|
||||
|
||||
@@ -39,7 +39,8 @@ bool asst::RoguelikeRecruitTaskPlugin::_run()
|
||||
recruited = true;
|
||||
};
|
||||
|
||||
for (const auto& info : analyzer.get_result()) {
|
||||
const auto& oper_list = analyzer.get_result();
|
||||
for (const auto& info : oper_list) {
|
||||
// 先看看有没有精二的
|
||||
if (info.elite != 2) {
|
||||
continue;
|
||||
@@ -49,7 +50,7 @@ bool asst::RoguelikeRecruitTaskPlugin::_run()
|
||||
}
|
||||
|
||||
if (!recruited) {
|
||||
for (const auto& info : analyzer.get_result()) {
|
||||
for (const auto& info : oper_list) {
|
||||
// 拿个精一 50 以上的
|
||||
if (info.elite == 0 ||
|
||||
(info.elite == 1 && info.level < 50)) {
|
||||
@@ -63,7 +64,7 @@ bool asst::RoguelikeRecruitTaskPlugin::_run()
|
||||
if (!recruited) {
|
||||
Log.info("All are lower");
|
||||
// 随便招个精一的
|
||||
for (const auto& info : analyzer.get_result()) {
|
||||
for (const auto& info : oper_list) {
|
||||
if (info.elite == 0) {
|
||||
continue;
|
||||
}
|
||||
@@ -75,7 +76,7 @@ bool asst::RoguelikeRecruitTaskPlugin::_run()
|
||||
if (!recruited) {
|
||||
// 随便招个
|
||||
Log.info("All are very lower");
|
||||
auto info = analyzer.get_result().front();
|
||||
auto info = oper_list.front();
|
||||
recruit_oper(info);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user