NPC가 국가가 1개인 경우에도 임관은 낮지만 시도하도록 함

This commit is contained in:
2021-08-11 15:01:21 +09:00
parent 56ff3dd3c5
commit 546631c664
+1 -2
View File
@@ -3170,8 +3170,7 @@ class GeneralAI
return null;
}
if (Util::randBool(pow(1 / $nationCnt / pow($notFullNationCnt, 3), 1 / 4))) {
//국가가 1개일 경우에는 '임관하지 않음'
if (Util::randBool(pow(1 / ($nationCnt + 0.1) / pow($notFullNationCnt, 3), 1 / 4))) {
return null;
}
}