diff --git a/hwe/func_process.php b/hwe/func_process.php index 0af41093..8b8bf8a5 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -271,17 +271,6 @@ function process_1(&$general, $type) { $exp = CharExperience($exp, $general['personal']); $ded = CharDedication($ded, $general['personal']); - if($city['front'] == 1){ - if($city['city'] == $nation['capital']){ - $degrade = 1 - ($admin['year'] - $admin['startyear'] - 5) * 0.025; - $score *= Util::valueFit($degrade, 0.5, 1); - } - else{ - $score *= 0.5; - } - - } - $score += $city["$stype"]; if($score > $city["{$stype}2"]) { $score = $city["{$stype}2"]; } // 내정 상승 @@ -574,29 +563,6 @@ function process_5(&$general, $type) { $exp = $score * 0.7; $ded = $score * 1.0; - if($city['front'] == 1){ - if($city['city'] == $nation['capital']){ - if($stype == 'def'){ - $degrade = 1 - ($admin['year'] - $admin['startyear'] - 5) * 0.025; - $score *= Util::valueFit($degrade, 0.5, 1); - } - else{ - $degrade = 1 - ($admin['year'] - $admin['startyear'] - 5) * 0.0375; - $score *= Util::valueFit($degrade, 0.25, 1); - } - } - else{ - if($stype == 'def'){ - $score *= 0.5; - } - else{ - $score *= 0.25; - } - } - - - } - // 성격 보정 $exp = CharExperience($exp, $general['personal']); $ded = CharDedication($ded, $general['personal']);