소스 검색

宝箱盒子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: