From 9b724cd3e83dc32d2dc083bace0dbc6254a31a19 Mon Sep 17 00:00:00 2001 From: Lee Date: Tue, 20 Feb 2018 14:05:35 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=8B=9D=EC=88=98=EC=A0=95,=20?= =?UTF-8?q?=EC=84=B8=EB=AF=B8=EC=BD=9C=EB=A1=A0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- che_close/func.php | 2 +- che_close/func_process.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/che_close/func.php b/che_close/func.php index 03e0429..cd662c1 100644 --- a/che_close/func.php +++ b/che_close/func.php @@ -1085,7 +1085,7 @@ function addGenDex($connect, $no, $atmos, $train, $type, $exp) { $dexType = "dex{$type}"; if($type == 30) { $exp = round($exp * 0.90); } //귀병은 90%효율 elseif($type == 40) { $exp = round($exp * 0.90); } //차병은 90%효율 - $exp = $exp * $atmos/100 * $train/100; + $exp = $exp * ($atmos+$train)/200; // 사기 + 훈련 / 200 $query = "update general set {$dexType}={$dexType}+{$exp} where no='$no'"; MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); diff --git a/che_close/func_process.php b/che_close/func_process.php index dc9a9d6..1ae4cde 100644 --- a/che_close/func_process.php +++ b/che_close/func_process.php @@ -1,7 +1,7 @@