From cfbeba3de1dbf89bbdcd034b51bd55afd9a4acfa Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 22 Aug 2018 14:43:01 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=84=EB=9E=B5=EC=9D=B4=20=ED=95=AD?= =?UTF-8?q?=EC=83=81=20=EC=84=B1=EA=B3=B5=ED=95=98=EB=8A=94=20=EB=B2=84?= =?UTF-8?q?=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_sabotage.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hwe/func_process_sabotage.php b/hwe/func_process_sabotage.php index 0e756f0b..cf4bb722 100644 --- a/hwe/func_process_sabotage.php +++ b/hwe/func_process_sabotage.php @@ -18,6 +18,8 @@ function calcSabotageAttackScore(string $statType, array $general, array $nation throw new MustNotBeReachedException(); } + $genScore /= GameConst::$sabotageProbCoefByStat; + $specialScore = 0; if($general['special'] == 31){