이민족 코드를 5에서 9로 이동. 그에따른 추가 코드 변경

This commit is contained in:
2018-08-08 02:31:49 +09:00
parent 975bdd5897
commit 34623fca94
6 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -1665,7 +1665,7 @@ function ConquerCity($admin, $general, $city, $nation, $destnation) {
}
//NPC인 경우 10% 확률로 임관(엔장, 인재, 의병)
if($gen['npc'] >= 2 && $gen['npc'] <= 4 && rand() % 100 < 10) {
if($gen['npc'] >= 2 && $gen['npc'] <= 8 && rand() % 100 < 10) {
$commissionCommand = EncodeCommand(0, 0, $nation['nation'], 25); //임관
$query = "update general set turn0='$commissionCommand' where no={$gen['no']}";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");