v0.8 업데이트 #116

Closed
Hide_D wants to merge 209 commits from custom_map into devel
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 3e4995ae84 - Show all commits
+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']);