diff --git a/hwe/func_gamerule.php b/hwe/func_gamerule.php index fc15e605..45c234cb 100644 --- a/hwe/func_gamerule.php +++ b/hwe/func_gamerule.php @@ -1031,7 +1031,9 @@ function updateNationState() { } //유니크 아이템 하나 돌리자 - $nationGenList = $db->query('SELECT no, level, belong, horse, weap, book, item FROM general WHERE nation = %i AND killturn >= %i AND npc < 2', $nation['nation'], $admin['killturn']); + $targetKillTurn = $admin['killturn']; + $targetKillTurn -= Util::toInt($targetKillTurn / 10); + $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 = []; foreach($nationGenList as $nationGen){