forked from devsam/core
fix: AI에서 최근 전투 계산에서 외부 인력 계산 버그
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user