Browse Source

宝箱盒子bug

cyzhao 1 năm trước cách đây
mục cha
commit
3365cbf2ca
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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: