fix: AI에서 최근 전투 계산에서 외부 인력 계산 버그

This commit is contained in:
2022-04-21 18:47:38 +09:00
parent 994daf11d3
commit 4d72e0860e
+1 -1
View File
@@ -3480,7 +3480,7 @@ class GeneralAI
$lastWar = \PHP_INT_MAX;
foreach ($nationGenerals as $nationGeneral) {
$recentWar = $nationGeneral->calcRecentWarTurn($this->env['turnterm']);
if ($recentWar >= $nationGeneral->getVar('belong') * 12) {
if ($recentWar >= ($nationGeneral->getVar('belong') - 1) * 12) {
//임관전 전투는 제외
continue;
}