From 02cd3e66d8643b0acc0dd289bac3b3eec73f90b5 Mon Sep 17 00:00:00 2001 From: revofpla Date: Sat, 21 Jul 2018 13:12:52 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B2=B4=EC=84=AD=20=EB=B2=84=EA=B7=B8?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B8=ED=95=9C=20=ED=95=AB=ED=94=BD=EC=8A=A4=20?= =?UTF-8?q?1=EC=B0=A8=20=20-=20=EC=A7=95=EB=B3=91=20=EC=88=99=EB=A0=A8=201?= =?UTF-8?q?00=EB=B0=B0=20=EB=AC=B8=EC=A0=9C=20=20-=20=EB=AA=A8=EB=B3=91=20?= =?UTF-8?q?=EB=B9=84=EC=9A=A9=202=EB=B0=B0=EB=A1=9C=20=EA=B3=84=EC=82=B0?= =?UTF-8?q?=20=EC=95=88=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hwe/func_process.php b/hwe/func_process.php index b221cac5..3f9e220b 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -917,8 +917,7 @@ function process_11(&$general, $type) { $lbonus = setLeadershipBonus($general, $nationLevel); //NOTE: 입력 변수는 100명 단위임 - $crew = $rawCrew * 100; - + $crew = $rawCrew * 100; if($crew + $general['crew'] > getGeneralLeadership($general, true, true, true)*100) { $crew = max(0, getGeneralLeadership($general, true, true, true) * 100 - $general['crew']); } @@ -929,6 +928,9 @@ function process_11(&$general, $type) { } $cost = $crewTypeObj->costWithTech($tech, $crew); + if($type === '모병') { + $cost *= 2; + } //성격 보정 $cost = Util::round(CharCost($cost, $general['personal'])); @@ -976,7 +978,7 @@ function process_11(&$general, $type) { $exp = Util::round($crew / 100); $ded = Util::round($crew / 100); // 숙련도 증가 - addGenDex($general['no'], GameConst::$maxAtmosByCommand, GameConst::$maxTrainByCommand, $crewType, $crew); + addGenDex($general['no'], GameConst::$maxAtmosByCommand, GameConst::$maxTrainByCommand, $crewType, $crew/100); // 성격 보정 $exp = CharExperience($exp, $general['personal']);