From ed95d5e93318863556163af83dcf49211b44723d Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 4 Jan 2020 04:40:27 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_npc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func_npc.php b/hwe/func_npc.php index c0034b88..bc29eb77 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -1006,7 +1006,7 @@ function processAI($no, &$reduce_turn) { $cityCnt = $db->queryFirstField('SELECT count(city) FROM city WHERE nation=%i AND supply=1', $general['nation']); $citySelect = Util::randRangeInt(0, Util::toInt($cityCnt/5)); - $selCity = $db->queryFirstField('SELECT city, ,(def+wall)/(def2+wall2) as dev from city where nation=%i and supply=1 order by dev limit %i,1',$general['nation'], $citySelect); + $selCity = $db->queryFirstField('SELECT city, (def+wall)/(def2+wall2) as dev from city where nation=%i and supply=1 order by dev limit %i,1',$general['nation'], $citySelect); } if($general['city'] != $selCity) {