fix: 生息演算 去除任务结算多余的延迟

This commit is contained in:
wangli
2023-02-04 13:43:10 +08:00
parent af7477ca5e
commit 0a4f0a77a0
2 changed files with 7 additions and 4 deletions

View File

@@ -10152,9 +10152,9 @@
"next": [
"Reclamation@LevelComplete"
],
"specialParams_Doc": "二次复核前的delay完成后的delay",
"specialParams_Doc": "二次复核前的delay网络不佳delay",
"specialParams": [
1000,
2000,
2000
]
},

View File

@@ -68,10 +68,13 @@ bool asst::ReclamationBattlePlugin::_run()
Log.info(__FUNCTION__, "| click exit level check ", check1, check2, check3);
if ((!check1 && !check2) || check3) break;
if (!check1 && !check2) break;
if (check3) {
sleep(Task.get("Reclamation@BattleStart")->special_params.at(1));
break;
}
}
sleep(Task.get("Reclamation@BattleStart")->special_params.at(1));
return true;
}