From e9b5e4d4d1c4fde4d30355baf269eef50951e2dc Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 26 Nov 2019 18:49:40 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=99=EC=9D=80=20=EB=B3=91=EC=A2=85=20?= =?UTF-8?q?=EC=88=99=EB=A0=A8=EC=A0=84=ED=99=98=ED=95=98=EB=A9=B4=20?= =?UTF-8?q?=EB=8A=98=EC=96=B4=EB=82=98=EA=B8=B0=EB=A7=8C=20=ED=95=98?= =?UTF-8?q?=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hwe/func_process.php b/hwe/func_process.php index e08616cd..9d384eb4 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -2565,9 +2565,18 @@ function process_58(&$general) { $cutDex = Util::toInt($fromOrigDex * 0.3); $fromNewDex = $fromOrigDex - $cutDex; + + if($fromDexIdx == $toDexIdx){ + $toOrigDex = $fromNewDex; + } + $addDex = Util::toInt($cutDex * 2 / 3); $toNewDex = $toOrigDex + $addDex; + if($fromDexIdx == $toDexIdx){ + $fromNewDex = $toNewDex; + } + $exp = 10; $exp = CharExperience($exp, $general['personal']);