瀏覽代碼

合成补充提交

zhangyuqian 10 月之前
父節點
當前提交
714df30f66
共有 1 個文件被更改,包括 26 次插入4 次删除
  1. 26 4
      GameClient/Assets/Game/HotUpdate/Views/MiniGame/MergeGameView.cs

+ 26 - 4
GameClient/Assets/Game/HotUpdate/Views/MiniGame/MergeGameView.cs

@@ -371,9 +371,20 @@ namespace GFGGame
                 int y = MiniGameDateManager.Instance.GetIDListByString(MiniGameDateManager.Instance.ItemIdVPosition)[1] % itemNum;
                 int num = MiniGameDateManager.Instance.GetIDListByString(MiniGameDateManager.Instance.ItemIdVPosition)[0];
                 //if (idList[x][y] == 0)
-                if (x == 4 && y == 0)
+                if (x == 4)
                 {
-                    y = 1;
+                    if(y == 0)
+                    {
+                        y = 1;
+                    }
+                    else if(y == 1)
+                    {
+                        y = 2;
+                    }
+                    else if(y == 2)
+                    {
+                        y = 3;
+                    }   
                 }
                 else if (x == 4 && y == 4)
                 {
@@ -426,9 +437,20 @@ namespace GFGGame
                 int y = MiniGameDateManager.Instance.GetIDListByString(MiniGameDateManager.Instance.ItemIdVPosition)[1] % itemNum;
                 int num = MiniGameDateManager.Instance.GetIDListByString(MiniGameDateManager.Instance.ItemIdVPosition)[0];
                 //if (idList[x][y] == 0)
-                if(x == 4 && y == 0)
+                if(x == 4)
                 {
-                    y = 1;
+                    if (y == 0)
+                    {
+                        y = 1;
+                    }
+                    else if (y == 1)
+                    {
+                        y = 2;
+                    }
+                    else if (y == 2)
+                    {
+                        y = 3;
+                    }
                 }
                 else if(x== 4 && y== 4)
                 {