From ea16eceefa74a998f5fb8731012a7899f1f91a06 Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 2 May 2019 03:12:47 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8F=84=EC=8B=9C=20=EC=A0=91=EA=B2=BD=20?= =?UTF-8?q?=EB=82=B4=EC=A0=95=20=ED=8C=A8=EB=84=90=ED=8B=B0=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process.php | 34 ---------------------------------- 1 file changed, 34 deletions(-) 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']);