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 @@