diff --git a/hwe/func_process_personnel.php b/hwe/func_process_personnel.php index 04924cb5..be920c54 100644 --- a/hwe/func_process_personnel.php +++ b/hwe/func_process_personnel.php @@ -156,11 +156,11 @@ function process_25(&$general) { } $score = 1; - if($admin['startyear']+3 > $admin['year'] && $general['npc'] > 2){ + if($admin['startyear']+3 > $admin['year'] && $general['npc'] == 2){ $score *= sqrt((100-max(30, $testNation['injury']))/100); } - $score *= sqrt($allGen/$generals[$testNation['nation']]); + $score *= $allGen/$generals[$testNation['nation']]; $randVals[$idx] = $score; }