임관 시도 확률 변경, NPC 랜임시 부상 패널티 약화

This commit is contained in:
2018-06-13 02:51:39 +09:00
parent 090aeed9f9
commit 3e4995ae84
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -321,7 +321,7 @@ function processAI($no) {
MYDB_query($query, $connect) or Error("processAI07 ".MYDB_error($connect),"");
return;
} elseif($general['npc'] < 5 && $general['level'] == 0) {
switch(Util::choiceRandomUsingWeight([10, 40, 20, 30])) {
switch(Util::choiceRandomUsingWeight([13, 40, 20, 27])) {
//임관 10%
case 0:
+1 -1
View File
@@ -136,7 +136,7 @@ function process_25(&$general) {
$score = 1;
if($admin['startyear']+3 > $admin['year'] && $general['npc'] > 2){
$score *= sqrt((100-$testNation['injury'])/100);
$score *= sqrt((100-max(30, $testNation['injury']))/100);
}
$score *= sqrt($allGen/$testNation['gennum']);