Browse Source

宝箱盒子bug

cyzhao 1 year ago
parent
commit
3365cbf2ca
1 changed files with 5 additions and 1 deletions
  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: