瀏覽代碼

宝箱盒子bug

cyzhao 1 年之前
父節點
當前提交
3365cbf2ca
共有 1 個文件被更改,包括 5 次插入1 次删除
  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: