From 4d72e0860e12e7a8e4aa5404607ec65ba22a8323 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Thu, 21 Apr 2022 18:47:38 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20AI=EC=97=90=EC=84=9C=20=EC=B5=9C?= =?UTF-8?q?=EA=B7=BC=20=EC=A0=84=ED=88=AC=20=EA=B3=84=EC=82=B0=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=99=B8=EB=B6=80=20=EC=9D=B8=EB=A0=A5=20=EA=B3=84?= =?UTF-8?q?=EC=82=B0=20=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GeneralAI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index 9573674f..4e145f91 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -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; }