유산 포인트 시스템, 추가 기수 대비 #187

Merged
Hide_D merged 29 commits from Inheritance into devel 2021-08-11 21:57:53 +09:00
Showing only changes of commit 546631c664 - Show all commits
+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;
}
}