From 312dc294b3e9ddf1269da8a43f05b54b1f94c6a1 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 15 Sep 2018 01:33:44 +0900 Subject: [PATCH] =?UTF-8?q?=EB=82=B4=EC=A0=95=ED=84=B4=20=EC=84=B1?= =?UTF-8?q?=EA=B3=B5=20=ED=99=95=EB=A5=A0=20=EA=B3=84=EC=82=B0=EC=9D=84=20?= =?UTF-8?q?=EC=8B=A4=ED=8C=A8->=EC=84=B1=EA=B3=B5->=EC=9D=BC=EB=B0=98?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=84=B1=EA=B3=B5->=EC=8B=A4=ED=8C=A8->?= =?UTF-8?q?=EC=9D=BC=EB=B0=98=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/che_상업투자.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/Command/che_상업투자.php b/hwe/sammo/Command/che_상업투자.php index e5a70d3b..3adcdee9 100644 --- a/hwe/sammo/Command/che_상업투자.php +++ b/hwe/sammo/Command/che_상업투자.php @@ -86,8 +86,8 @@ class che_상업투자 extends BaseCommand{ $successRatio = $general->onCalcDomestic(static::$cityKey, 'succ', $successRatio); $failRatio = $general->onCalcDomestic(static::$cityKey, 'fail', $failRatio); - $failRatio = Util::valueFit($failRatio, 0, 1); - $successRatio = Util::valueFit($successRatio, 0, 1 - $failRatio); + $successRatio = Util::valueFit($successRatio, 0, 1); + $failRatio = Util::valueFit($failRatio, 0, 1 - $successRatio); $normalRatio = 1 - $failRatio - $successRatio; $pick = Util::choiceRandomUsingWeight([