Browse Source

新手首次10连抽必得bug修改

cyzhao 4 years ago
parent
commit
7080c7c4b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Gameserver/Amfphp/process/ActiveProc.php

+ 1 - 1
Gameserver/Amfphp/process/ActiveProc.php

@@ -109,7 +109,7 @@ class ActiveProc {
                 if($itemType >= 2){
                     $tag = true;
                 }
-                if($n==10 && $tag == false){                             
+                if($n==10 && $tag == false && $shenmiaoInfo->activeDic->$type->totalNum >= 10){                             
                     $list[] =self::getActiveRandomItem(self::randSsrUr($shenmo->per), $shenmo);
                 } else {                   
                     $nId =self::getActiveRandomItem($itemType, $shenmo);