From ec0fa686a93ada46606b78ac9a605540aa3173c5 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 14 Aug 2019 01:00:10 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=AC=EC=9C=A0=EB=A5=BC=20'=EC=A0=88?= =?UTF-8?q?=EB=8C=80=20=EC=8B=9C=EA=B0=84'=20=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_gamerule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func_gamerule.php b/hwe/func_gamerule.php index 45c234cb..1d0b66ca 100644 --- a/hwe/func_gamerule.php +++ b/hwe/func_gamerule.php @@ -1032,7 +1032,7 @@ function updateNationState() { //유니크 아이템 하나 돌리자 $targetKillTurn = $admin['killturn']; - $targetKillTurn -= Util::toInt($targetKillTurn / 10); + $targetKillTurn -= 24 * 60 / $admin['turnterm']; $nationGenList = $db->query('SELECT no, level, belong, horse, weap, book, item FROM general WHERE nation = %i AND killturn >= %i AND npc < 2', $nation['nation'], $targetKillTurn); $uniqueLotteryWeightList = [];