game,feat: 새 도구 아이템 추가, 아이템 효과에 필요한 기능 추가 #206

Merged
Hide_D merged 25 commits from items_add into devel 2022-02-22 00:50:13 +09:00
Showing only changes of commit 1fa0cf8d32 - Show all commits
+5 -5
View File
@@ -673,17 +673,17 @@ function updateNationState()
continue;
}
$score = $nationGen->getVar('belong') + 5;
$score = $nationGen->getVar('belong') + 10;
if ($nationGen->getVar('officer_level') == 12) {
$score += 100; //NOTE: 꼬우면 군주하세요.
$score += 60;
} else if ($nationGen->getVar('officer_level') == 11) {
$score += 50;
$score += 30;
} else if ($nationGen->getVar('officer_level') > 4) {
$score += 35;
$score += 15;
}
$score *= $trialCnt;
$score *= 2**$trialCnt;
$uniqueLotteryWeightList[$nationGen->getID()] = [$nationGen, $score];
}