From a781e4b84cc6cab491a33c7ba99935cf3f94b2d0 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 11 Aug 2020 22:33:50 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B8=ED=83=90=20=EC=84=B1=EA=B3=B5=20?= =?UTF-8?q?=EC=8B=9C=20=ED=99=95=EB=A5=A0=EB=94=B0=EB=9D=BC=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20=EB=B3=B4=EC=A0=95,=20=EC=9D=B8=ED=83=90/=EC=9D=98?= =?UTF-8?q?=EB=B3=91=20=EC=A7=80=EC=9E=A5=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/General/che_인재탐색.php | 9 +++++---- hwe/sammo/Command/Nation/che_의병모집.php | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hwe/sammo/Command/General/che_인재탐색.php b/hwe/sammo/Command/General/che_인재탐색.php index a7aa2806..619bbf32 100644 --- a/hwe/sammo/Command/General/che_인재탐색.php +++ b/hwe/sammo/Command/General/che_인재탐색.php @@ -134,7 +134,8 @@ class che_인재탐색 extends Command\GeneralCommand $totalGenCnt = $db->queryFirstField('SELECT count(no) FROM general WHERE npc <= 2'); $totalNpcCnt = $db->queryFirstField('SELECT count(`no`) FROM general WHERE 3 <= npc AND npc <= 4'); - $foundNpc = Util::randBool($this->calcFoundProp($env['maxgeneral'], $totalGenCnt, $totalNpcCnt)); + $foundProp = $this->calcFoundProp($env['maxgeneral'], $totalGenCnt, $totalNpcCnt); + $foundNpc = Util::randBool($foundProp); $logger = $general->getLogger(); @@ -164,8 +165,8 @@ class che_인재탐색 extends Command\GeneralCommand } //인간적으로 너무 길어서 끊었다! - $exp = 200; - $ded = 300; + $exp = 100 * (sqrt(1 / $foundProp) + 1); + $ded = 150 * (sqrt(1 / $foundProp) + 1); $pickTypeList = ['무' => 6, '지' => 6, '무지' => 3]; @@ -206,7 +207,7 @@ class che_인재탐색 extends Command\GeneralCommand $leadership = $subStat; $strength = $otherStat; $intel = $mainStat; - $dexVal = [$dexTotal / 8, $dexTotal / 8, $dexTotal * 5 / 8, $dexTotal / 8]; + $dexVal = [$dexTotal / 8, $dexTotal / 8, $dexTotal / 8, $dexTotal * 5 / 8]; } else { $leadership = $otherStat; $strength = $subStat; diff --git a/hwe/sammo/Command/Nation/che_의병모집.php b/hwe/sammo/Command/Nation/che_의병모집.php index 95658894..c429ee7f 100644 --- a/hwe/sammo/Command/Nation/che_의병모집.php +++ b/hwe/sammo/Command/Nation/che_의병모집.php @@ -185,7 +185,7 @@ class che_의병모집 extends Command\NationCommand $leadership = $subStat; $strength = $otherStat; $intel = $mainStat; - $dexVal = [$dexTotal / 8, $dexTotal / 8, $dexTotal * 5 / 8, $dexTotal / 8]; + $dexVal = [$dexTotal / 8, $dexTotal / 8, $dexTotal / 8, $dexTotal * 5 / 8]; } else { $leadership = $otherStat; $strength = $subStat;