diff --git a/hwe/c_vote.php b/hwe/c_vote.php index 919361e6..0937a10a 100644 --- a/hwe/c_vote.php +++ b/hwe/c_vote.php @@ -33,7 +33,7 @@ if($btn == "투표" && $general->getVar('vote') == 0 && $sel > 0) { 'vote'=>$sel ], 'owner=%i', $userID); - if(tryUniqueItemLottery($general, '투표')){ + if(tryUniqueItemLottery($general, '설문조사')){ $general->applyDB($db); } } diff --git a/hwe/func.php b/hwe/func.php index ee3ffde7..fbcbf834 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -1607,8 +1607,8 @@ function tryUniqueItemLottery(General $general, string $acquireType = '아이템 $prob = 1 / $genCount; // 1~2개월에 하나씩 등장 } - if ($acquireType == '투표') { - $prob = 1 / ($genCount * 0.7 / 3); // 투표율 70%, 투표 한번에 2~3개 등장 + if ($acquireType == '설문조사') { + $prob = 1 / ($genCount * 0.7 / 3); // 투표율 70%, 설문조사 한번에 2~3개 등장 } else if ($acquireType == '랜덤 임관') { $prob = 1 / ($genCount / 10 / 2); // 랜임시 2개(10%) 등장(200명중 20명 랜임시도?) } else if ($acquireType == '건국') {