|
@@ -193,7 +193,7 @@ class ShopProc {
|
|
|
$end = 0;
|
|
|
$randNum = rand (1,$allNum);
|
|
|
foreach ($perList as $k => $val) {
|
|
|
- $str = explode(',', $value);
|
|
|
+ $str = explode(',', $val);
|
|
|
$end += $str[1]*1000;
|
|
|
if($randNum > $start && $randNum <= $end){
|
|
|
$qual = $str[0];
|