From 2420f594a6803602380ae94c888ecb68f94b6047 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Mon, 14 Aug 2023 07:30:16 +0000 Subject: [PATCH] =?UTF-8?q?game:=20=EC=9E=90=EB=8F=99=20=EC=B6=9C=EB=B3=91?= =?UTF-8?q?=20=EC=A1=B0=EA=B1=B4=20=EC=9D=BC=EB=B6=80=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=20-=20=EA=B5=AD=EA=B3=A0=20=EB=B3=91=EB=A0=B9=EC=9D=B4=202000?= =?UTF-8?q?=20=EB=B0=91=EC=9D=B4=EB=8D=94=EB=9D=BC=EB=8F=84,=20=EC=9C=A0?= =?UTF-8?q?=EC=A0=80=EC=9E=A5=EC=9D=80=20=EC=B6=9C=EB=B3=91?= 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 7afb068a..0b904e00 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -2709,7 +2709,7 @@ class GeneralAI $city = $this->city; $nation = $this->nation; - if (($nation['rice'] < GameConst::$baserice) && $this->rng->nextBool(0.7)) { + if (($nation['rice'] < GameConst::$baserice) && $general->getNPCType() >= 2 && $this->rng->nextBool(0.7)) { return null; }