feat: 支持一些深入调查模式,支持一些图的 copilot

This commit is contained in:
MistEO
2022-06-18 23:18:09 +08:00
parent d4e1a32199
commit 21ecbc7f06
3 changed files with 22 additions and 5 deletions

View File

@@ -16,5 +16,14 @@
3
]
]
},
{
"stage_name": "压轴登场",
"replacement_home": [
[
2,
3
]
]
}
]

View File

@@ -5488,7 +5488,14 @@
"Roguelike1LastRewardRand",
"Roguelike1Team3",
"Roguelike1CloseCollection",
"Roguelike1DialogSkip"
"Roguelike1DialogSkip",
"Roguelike1StageTrader",
"Roguelike1StageSafeHouse",
"Roguelike1StageEncounter",
"Roguelike1StageBoons",
"Roguelike1StageCambatDps",
"Roguelike1StageEmergencyDps",
"Roguelike1StageDreadfulFoe"
]
},
"Roguelike1CloseCollection": {

View File

@@ -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);
}