diff --git a/hwe/sammo/Command/General/che_인재탐색.php b/hwe/sammo/Command/General/che_인재탐색.php index 164db659..8ed2e2c0 100644 --- a/hwe/sammo/Command/General/che_인재탐색.php +++ b/hwe/sammo/Command/General/che_인재탐색.php @@ -159,7 +159,7 @@ class che_인재탐색 extends Command\GeneralCommand{ $pickTypeList = ['무'=>6, '지'=>6, '무지'=>3]; - $pickType = Util::choiceRandomUsingWeightPair($pickTypeList); + $pickType = Util::choiceRandomUsingWeight($pickTypeList); $mainStat = GameConst::$defaultStatMax - Util::randRangeInt(0, 10); $otherStat = GameConst::$defaultStatMin + Util::randRangeInt(0, 5); diff --git a/hwe/sammo/Command/Nation/che_의병모집.php b/hwe/sammo/Command/Nation/che_의병모집.php index ef51c608..f6904823 100644 --- a/hwe/sammo/Command/Nation/che_의병모집.php +++ b/hwe/sammo/Command/Nation/che_의병모집.php @@ -146,7 +146,7 @@ class che_의병모집 extends Command\NationCommand{ $dexTotal = $avgGen['dex_t']; for(;$createGenIdx <= $lastCreatGenIdx; $createGenIdx++){ - $pickType = Util::choiceRandomUsingWeightPair($pickTypeList); + $pickType = Util::choiceRandomUsingWeight($pickTypeList); $mainStat = GameConst::$defaultStatMax - Util::randRangeInt(0, 10); $otherStat = GameConst::$defaultStatMin + Util::randRangeInt(0, 5);