From 26ab9044f0b3e028f11b33dba419507e156f9e38 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 4 Feb 2018 04:00:37 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B7=80=EB=AA=A8=20=EB=82=B4=ED=8A=B9=20?= =?UTF-8?q?=ED=99=95=EB=A5=A0=EC=9D=B4=20=EC=9E=98=EB=AA=BB=20=EA=B3=84?= =?UTF-8?q?=EC=82=B0=EB=90=98=EB=8D=98=20=EB=AC=B8=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twe/func_gamerule.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/twe/func_gamerule.php b/twe/func_gamerule.php index 8ac5d95b..0bf6fd89 100644 --- a/twe/func_gamerule.php +++ b/twe/func_gamerule.php @@ -91,16 +91,15 @@ function getSpecial($connect, $leader, $power, $intel) { $type = array(20, 31); $special = $type[array_rand($type)]; // 귀모는 50% * 5% = 2.5% - if($special == 31 && randF() < 0.05) { - $type = array(20, 20); - $special = $type[array_rand($type)]; + if($special == 31 && randF() > 0.05) { + $special = 20; } //무장 } elseif($power >= $intel) { $type = array(10, 11, 12, 31); $special = $type[array_rand($type)]; // 귀모는 그중에 25% * 10% = 2.5% - if(($special == 30 || $special == 31) && randF() < 0.05) { + if($special == 31 && randF() > 0.1) { $type = array(10, 11, 12); $special = $type[array_rand($type)]; } @@ -109,7 +108,7 @@ function getSpecial($connect, $leader, $power, $intel) { $type = array(1, 2, 3, 31); $special = $type[array_rand($type)]; // 거상, 귀모는 그중에 25% * 10% = 2.5% - if($special == 31 && randF() < 0.05) { + if($special == 31 && randF() > 0.1) { $type = array(1, 2, 3); $special = $type[array_rand($type)]; }