From b95ff07f61d42dbf97b9640e5eb027bda003701a Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 19 Sep 2018 02:00:29 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=EC=9F=81=20=EC=A4=91=20=EC=A0=91?= =?UTF-8?q?=EA=B2=BD=EC=97=90=EC=84=9C=EB=8A=94=20=EB=86=8D=EC=83=81?= =?UTF-8?q?=EC=84=B1=EC=88=98=20=EA=B0=80=20=EC=A0=9C=EB=8C=80=EB=A1=9C=20?= =?UTF-8?q?=EC=95=88=20=EC=98=A4=EB=A5=B4=EB=8F=84=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hwe/func_process.php b/hwe/func_process.php index fe531577..68639dfc 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -273,6 +273,10 @@ function process_1(&$general, $type) { $exp = CharExperience($exp, $general['personal']); $ded = CharDedication($ded, $general['personal']); + if($city['front'] == 1){ + $score *= 0.5; + } + $score += $city["$stype"]; if($score > $city["{$stype}2"]) { $score = $city["{$stype}2"]; } // 내정 상승 @@ -558,6 +562,16 @@ function process_5(&$general, $type) { $exp = $score * 0.7; $ded = $score * 1.0; + if($city['front'] == 1){ + if($stype == 'def'){ + $score *= 0.5; + } + else{ + $score *= 0.25; + } + + } + // 성격 보정 $exp = CharExperience($exp, $general['personal']); $ded = CharDedication($ded, $general['personal']);