Explorar o código

宝箱盒子bug

cyzhao hai 1 ano
pai
achega
3365cbf2ca
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      Gameserver/App/process/StoreProc.php

+ 5 - 1
Gameserver/App/process/StoreProc.php

@@ -770,7 +770,11 @@ class StoreProc {
                     self::PutGemInStore($itemId, $num);
                     break;
                 case 701://道具宝箱
-                    self::DistributeItemsBox($itemId);
+                    for ($i = 0; $i < $num; $i++) {
+                        self::DistributeItemsBox($itemId);
+                    }
+                    
+                    
                     break;
                 default: