|
@@ -133,7 +133,7 @@ class ActiveProc {
|
|
|
StoreProc::removeItemFromStore($req->userInfo->game->store,$sList[0],$sList[1]);
|
|
|
|
|
|
$itemType = self::activeRandom($shenmo->per, $shenmo);
|
|
|
- var_dump($itemType);
|
|
|
+
|
|
|
$aid =self::getActiveRandomItem($itemType, $shenmo);
|
|
|
if($shenmiaoInfo->activeDic->$type->num%10 == 0){
|
|
|
if($shenmiaoInfo->activeDic->$type->num%90 == 0){
|
|
@@ -327,8 +327,7 @@ class ActiveProc {
|
|
|
}
|
|
|
|
|
|
public static function randList($arr) {
|
|
|
- $rand = rand(0, count($arr)-1);
|
|
|
- var_dump('rand-------------'.$rand);
|
|
|
+ $rand = rand(0, count($arr)-1);
|
|
|
return $arr[$rand];
|
|
|
}
|
|
|
|
|
@@ -356,9 +355,7 @@ class ActiveProc {
|
|
|
* @param sm_shenmiao $mo
|
|
|
* @return type
|
|
|
*/
|
|
|
- public static function getActiveRandomItem_2($type,$mo) {
|
|
|
- var_dump($type);
|
|
|
- var_dump($mo);
|
|
|
+ public static function getActiveRandomItem_2($type,$mo) {
|
|
|
$id = 0;
|
|
|
switch ($type) {
|
|
|
case Enum_ActiveItemType::Sr:
|