Browse Source

虎:fix 全屏奖多转了一次

lhj 3 months ago
parent
commit
c71e138dff

+ 2 - 2
luckypot_sp/assets/SubGame/slotNTigerbundle/script/FortuneTigerGameFrame.ts

@@ -520,13 +520,13 @@ export default class FortuneTigerGameFrame  extends GameBase{//extends AbstractG
             let endSuper = data.superResult[data.superResult.length-1]
             let endHasZero:boolean = false;//最后一转是否全屏中奖(有0就不是全屏奖)
             for (let index = 0; index < 9; index++) {
-                const element = endSuper[index];
+                const element = endSuper.itemInfo[index];
                 if (element == 0) {
                     endHasZero = true
                     break
                 }
             }
-            if (!endHasZero) {
+            if (endHasZero) {
                 data.superResult.push(data.superResult[data.superResult.length-1])
             }
         }

+ 3 - 0
luckypot_sp/assets/SubGame/slotNTigerbundle/script/FortuneTigerTestLine.ts

@@ -30,6 +30,9 @@ export default class FortuneTigerTestLine{
             // data = {"stage2Count":3,"awardTotalTimes":4000,"itemInfo":[0,0,0,0,0,0,3,3,3],"superResult":[{"awardTotalTimes":60,"itemInfo":[0,0,0,0,0,0,3,3,3],"shineArea":[false,false,false,false,false,false,true,true,true],"lineItem":[{"okPath":[6,7,8],"cardValue":3,"awTimes":8,"lineIndex":3}]},{"awardTotalTimes":180,"itemInfo":[3,3,3,0,3,0,3,3,3],"shineArea":[true,true,true,false,true,false,true,true,true],"lineItem":[{"okPath":[6,7,8],"cardValue":3,"awTimes":8,"lineIndex":3},{"okPath":[0,1,2],"cardValue":3,"awTimes":8,"lineIndex":1},{"okPath":[2,4,6],"cardValue":3,"awTimes":8,"lineIndex":4},{"okPath":[0,4,8],"cardValue":3,"awTimes":8,"lineIndex":5}]},{"awardTotalTimes":180,"itemInfo":[3,3,3,3,3,0,3,3,3],"shineArea":[true,true,true,true,true,false,true,true,true],"lineItem":[{"okPath":[6,7,8],"cardValue":3,"awTimes":8,"lineIndex":3},{"okPath":[0,4,8],"cardValue":3,"awTimes":8,"lineIndex":4},{"okPath":[2,4,6],"cardValue":3,"awTimes":8,"lineIndex":4},{"okPath":[0,4,8],"cardValue":3,"awTimes":8,"lineIndex":5}]},{"awardTotalTimes":4000,"itemInfo":[3,3,3,3,3,3,3,3,3],"shineArea":[true,true,true,true,true,true,true,true,true],"lineItem":[{"okPath":[0,1,2],"cardValue":3,"awTimes":8,"lineIndex":1},{"okPath":[3,4,5],"cardValue":3,"awTimes":8,"lineIndex":2},{"okPath":[6,7,8],"cardValue":3,"awTimes":8,"lineIndex":3},{"okPath":[0,4,8],"cardValue":3,"awTimes":8,"lineIndex":4},{"okPath":[6,4,2],"cardValue":3,"awTimes":8,"lineIndex":5}]}],"buff":"SLOT_COMMON","area":"SEVEN"}
             // data = {"itemInfo":[3,7,3,3,0,3,3,0,0,3,7,3,3,3,3,3,3,0],"buff":"buff","area":"area","awardTotalTimes":0,"stage2Count":2,"stage3Count":0,"shineArea":[true,true,true,true,true,true,true,false,false,false,false,false,false,false,false],"lineItem":[],"currentBalance":2000740,"superResult":[{"awardTotalTimes":0,"itemInfo":[3,7,3,3,0,3,3,0,0],"shineArea":[true,true,true,false,false,false,false,false,false,false,false,false,false,false,false],"lineItem":[{"okPath":[0,1,2],"cardValue":3,"awTimes":10,"lineIndex":1}]},{"awardTotalTimes":0,"itemInfo":[3,7,3,3,3,3,3,3,0],"shineArea":[true,true,true,true,true,true,true,false,false,false,false,false,false,false,false],"lineItem":[{"okPath":[0,1,2],"cardValue":3,"awTimes":10,"lineIndex":1},{"okPath":[3,4,5],"cardValue":3,"awTimes":10,"lineIndex":2},{"okPath":[6,4,2],"cardValue":3,"awTimes":10,"lineIndex":5}]}]}
             // data = { "stage2Count": 3, "awardTotalTimes": 4000, "itemInfo": [7, 7, 0, 2, 0, 0, 0, 0, 7, 7, 7, 0, 2, 2, 0, 2, 7, 7, 7, 7, 2, 2, 2, 2, 2, 7, 7], "superResult": [{ "itemInfo": [7, 7, 0, 2, 0, 0, 0, 0, 7] }, { "awardTotalTimes": 160, "itemInfo": [7, 7, 0, 2, 2, 0, 2, 7, 7], "shineArea": [true, false, false, false, true, false, true, true, true, false, false, false, false, false, false], "lineItem": [{ "okPath": [6, 7, 8], "cardValue": 4, "awTimes": 8, "lineIndex": 3 }, { "okPath": [0, 4, 8], "cardValue": 4, "awTimes": 8, "lineIndex": 4 }] }, { "awardTotalTimes": 4000, "itemInfo": [7, 7, 2, 2, 2, 2, 2, 7, 7], "shineArea": [true, true, true, true, true, true, true, true, true, false, false, false, false, false, false], "lineItem": [{ "okPath": [0, 1, 2], "cardValue": 4, "awTimes": 8, "lineIndex": 1 }, { "okPath": [3, 4, 5], "cardValue": 4, "awTimes": 8, "lineIndex": 2 }, { "okPath": [6, 7, 8], "cardValue": 4, "awTimes": 8, "lineIndex": 3 }, { "okPath": [0, 4, 8], "cardValue": 4, "awTimes": 8, "lineIndex": 4 }, { "okPath": [6, 4, 2], "cardValue": 4, "awTimes": 8, "lineIndex": 5 }] }], "buff": "SLOT_COMMON", "area": "SEVEN" };
+            //超级转两次,有全屏
+            // data = {"itemInfo":[6,6,6,0,6,6,6,0,6,6,6,6,6,6,6,6,6,6],"buff":"buff","area":"area","awardTotalTimes":750,"stage2Count":2,"stage3Count":0,"shineArea":[true,true,true,true,true,true,true,true,true,false,false,false,false,false,false],"lineItem":[],"currentBalance":2120,"superResult":[{"awardTotalTimes":0,"itemInfo":[6,6,6,0,6,6,6,0,6],"shineArea":[true,true,true,false,true,false,true,false,true,false,false,false,false,false,false],"lineItem":[{"okPath":[6,4,2],"cardValue":6,"awTimes":3,"lineIndex":5},{"okPath":[0,1,2],"cardValue":6,"awTimes":3,"lineIndex":1},{"okPath":[0,4,8],"cardValue":6,"awTimes":3,"lineIndex":4}]},{"awardTotalTimes":0,"itemInfo":[6,6,6,6,6,6,6,6,6],"shineArea":[true,true,true,true,true,true,true,true,true,false,false,false,false,false,false],"lineItem":[{"okPath":[0,4,8],"cardValue":6,"awTimes":3,"lineIndex":4},{"okPath":[6,4,2],"cardValue":6,"awTimes":3,"lineIndex":5},{"okPath":[0,1,2],"cardValue":6,"awTimes":3,"lineIndex":1},{"okPath":[3,4,5],"cardValue":6,"awTimes":3,"lineIndex":2},{"okPath":[6,7,8],"cardValue":6,"awTimes":3,"lineIndex":3}]}]}
+
             //超级转两次,没有全屏
             data = {
                 "itemInfo": [