forked from devsam/core
삭턴에 조금 여유를 줌
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user