From 6043040832adaa2fcf2206d45589f43a349c6ad8 Mon Sep 17 00:00:00 2001 From: tomas Date: Thu, 27 Feb 2025 09:08:02 +0800 Subject: [PATCH] add excel sugarrush --- .../exported/excel2go/base/sugar_rush.go | 924 ++++++++++++++++++ .../internal/exported/excel2go/base/var.go | 22 + .../exported/excel2go/storage/storage.go | 49 + .../exported/excel2go/structs/structs.go | 62 ++ 4 files changed, 1057 insertions(+) create mode 100644 gamesrv/slotspkg/internal/exported/excel2go/base/sugar_rush.go diff --git a/gamesrv/slotspkg/internal/exported/excel2go/base/sugar_rush.go b/gamesrv/slotspkg/internal/exported/excel2go/base/sugar_rush.go new file mode 100644 index 0000000..0f4555c --- /dev/null +++ b/gamesrv/slotspkg/internal/exported/excel2go/base/sugar_rush.go @@ -0,0 +1,924 @@ +//go:build !debug +// +build !debug + +// +package base + +import "slotspkg/internal/exported/excel2go/structs" + +func init() { + SugarRushBaseSymbolShowWeight = []*structs.SugarRushBaseSymbolShowWeight{ + { + ID: 1, + ItemID: 1, + Weight: 8.5, + }, + { + ID: 2, + ItemID: 2, + Weight: 0, + }, + { + ID: 3, + ItemID: 3, + Weight: 80, + }, + { + ID: 4, + ItemID: 4, + Weight: 120, + }, + { + ID: 5, + ItemID: 5, + Weight: 120, + }, + { + ID: 6, + ItemID: 6, + Weight: 150, + }, + { + ID: 7, + ItemID: 7, + Weight: 160, + }, + { + ID: 8, + ItemID: 8, + Weight: 160, + }, + { + ID: 9, + ItemID: 9, + Weight: 160, + }, + } + + SugarRushBaseSymbolShowNumberWeight = []*structs.SugarRushBaseSymbolShowNumberWeight{ + { + ID: 1, + ItemID: 1, + ShowNumberWeight: []float64{1, 0, 0, 0, 0, 0, 0}, + }, + { + ID: 2, + ItemID: 2, + ShowNumberWeight: []float64{0, 0, 0, 0, 0, 0, 0}, + }, + { + ID: 3, + ItemID: 3, + ShowNumberWeight: []float64{50, 30, 0, 0, 0, 0, 0}, + }, + { + ID: 4, + ItemID: 4, + ShowNumberWeight: []float64{50, 40, 1, 0, 0, 0, 0}, + }, + { + ID: 5, + ItemID: 5, + ShowNumberWeight: []float64{50, 50, 2, 0, 0, 0, 0}, + }, + { + ID: 6, + ItemID: 6, + ShowNumberWeight: []float64{50, 50, 2, 0, 0, 0, 0}, + }, + { + ID: 7, + ItemID: 7, + ShowNumberWeight: []float64{80, 50, 5, 0, 0, 0, 0}, + }, + { + ID: 8, + ItemID: 8, + ShowNumberWeight: []float64{80, 50, 5, 0, 0, 0, 0}, + }, + { + ID: 9, + ItemID: 9, + ShowNumberWeight: []float64{80, 50, 5, 0, 0, 0, 0}, + }, + } + + SugarRushBetBetChangeList = map[int64]*structs.SugarRushBetBetChangeList{ + 0: { + Index: 0, + BetChangeList: 0.2, + BetSizeIndex: 0, + BetLevelIndex: 0, + }, + 1: { + Index: 1, + BetChangeList: 0.4, + BetSizeIndex: 0, + BetLevelIndex: 1, + }, + 2: { + Index: 2, + BetChangeList: 0.6, + BetSizeIndex: 0, + BetLevelIndex: 2, + }, + 3: { + Index: 3, + BetChangeList: 0.8, + BetSizeIndex: 0, + BetLevelIndex: 3, + }, + 4: { + Index: 4, + BetChangeList: 1, + BetSizeIndex: 0, + BetLevelIndex: 4, + }, + 5: { + Index: 5, + BetChangeList: 1.2, + BetSizeIndex: 0, + BetLevelIndex: 5, + }, + 6: { + Index: 6, + BetChangeList: 1.4, + BetSizeIndex: 0, + BetLevelIndex: 6, + }, + 7: { + Index: 7, + BetChangeList: 1.6, + BetSizeIndex: 0, + BetLevelIndex: 7, + }, + 8: { + Index: 8, + BetChangeList: 1.8, + BetSizeIndex: 0, + BetLevelIndex: 8, + }, + 9: { + Index: 9, + BetChangeList: 2, + BetSizeIndex: 0, + BetLevelIndex: 9, + }, + 10: { + Index: 10, + BetChangeList: 4, + BetSizeIndex: 1, + BetLevelIndex: 1, + }, + 11: { + Index: 11, + BetChangeList: 6, + BetSizeIndex: 1, + BetLevelIndex: 2, + }, + 12: { + Index: 12, + BetChangeList: 8, + BetSizeIndex: 1, + BetLevelIndex: 3, + }, + 13: { + Index: 13, + BetChangeList: 10, + BetSizeIndex: 1, + BetLevelIndex: 4, + }, + 14: { + Index: 14, + BetChangeList: 12, + BetSizeIndex: 1, + BetLevelIndex: 5, + }, + 15: { + Index: 15, + BetChangeList: 14, + BetSizeIndex: 1, + BetLevelIndex: 6, + }, + 16: { + Index: 16, + BetChangeList: 15, + BetSizeIndex: 4, + BetLevelIndex: 0, + }, + 17: { + Index: 17, + BetChangeList: 16, + BetSizeIndex: 1, + BetLevelIndex: 7, + }, + 18: { + Index: 18, + BetChangeList: 18, + BetSizeIndex: 1, + BetLevelIndex: 8, + }, + 19: { + Index: 19, + BetChangeList: 20, + BetSizeIndex: 1, + BetLevelIndex: 9, + }, + 20: { + Index: 20, + BetChangeList: 24, + BetSizeIndex: 2, + BetLevelIndex: 5, + }, + 21: { + Index: 21, + BetChangeList: 28, + BetSizeIndex: 2, + BetLevelIndex: 6, + }, + 22: { + Index: 22, + BetChangeList: 30, + BetSizeIndex: 3, + BetLevelIndex: 2, + }, + 23: { + Index: 23, + BetChangeList: 32, + BetSizeIndex: 2, + BetLevelIndex: 7, + }, + 24: { + Index: 24, + BetChangeList: 36, + BetSizeIndex: 2, + BetLevelIndex: 8, + }, + 25: { + Index: 25, + BetChangeList: 40, + BetSizeIndex: 2, + BetLevelIndex: 9, + }, + 26: { + Index: 26, + BetChangeList: 45, + BetSizeIndex: 4, + BetLevelIndex: 2, + }, + 27: { + Index: 27, + BetChangeList: 50, + BetSizeIndex: 3, + BetLevelIndex: 4, + }, + 28: { + Index: 28, + BetChangeList: 60, + BetSizeIndex: 3, + BetLevelIndex: 5, + }, + 29: { + Index: 29, + BetChangeList: 70, + BetSizeIndex: 3, + BetLevelIndex: 6, + }, + 30: { + Index: 30, + BetChangeList: 75, + BetSizeIndex: 4, + BetLevelIndex: 4, + }, + 31: { + Index: 31, + BetChangeList: 80, + BetSizeIndex: 3, + BetLevelIndex: 7, + }, + 32: { + Index: 32, + BetChangeList: 90, + BetSizeIndex: 3, + BetLevelIndex: 8, + }, + 33: { + Index: 33, + BetChangeList: 100, + BetSizeIndex: 3, + BetLevelIndex: 9, + }, + 34: { + Index: 34, + BetChangeList: 105, + BetSizeIndex: 4, + BetLevelIndex: 6, + }, + 35: { + Index: 35, + BetChangeList: 120, + BetSizeIndex: 4, + BetLevelIndex: 7, + }, + 36: { + Index: 36, + BetChangeList: 135, + BetSizeIndex: 4, + BetLevelIndex: 8, + }, + 37: { + Index: 37, + BetChangeList: 150, + BetSizeIndex: 4, + BetLevelIndex: 9, + }, + 38: { + Index: 38, + BetChangeList: 160, + BetSizeIndex: 5, + BetLevelIndex: 3, + }, + 39: { + Index: 39, + BetChangeList: 200, + BetSizeIndex: 5, + BetLevelIndex: 4, + }, + 40: { + Index: 40, + BetChangeList: 240, + BetSizeIndex: 5, + BetLevelIndex: 5, + }, + 41: { + Index: 41, + BetChangeList: 280, + BetSizeIndex: 5, + BetLevelIndex: 6, + }, + 42: { + Index: 42, + BetChangeList: 320, + BetSizeIndex: 5, + BetLevelIndex: 7, + }, + 43: { + Index: 43, + BetChangeList: 360, + BetSizeIndex: 5, + BetLevelIndex: 8, + }, + 44: { + Index: 44, + BetChangeList: 400, + BetSizeIndex: 5, + BetLevelIndex: 9, + }, + 45: { + Index: 45, + BetChangeList: 3, + BetSizeIndex: 6, + BetLevelIndex: 0, + }, + 46: { + Index: 46, + BetChangeList: 5, + BetSizeIndex: 7, + BetLevelIndex: 0, + }, + 47: { + Index: 47, + BetChangeList: 25, + BetSizeIndex: 8, + BetLevelIndex: 0, + }, + 48: { + Index: 48, + BetChangeList: 300, + BetSizeIndex: 9, + BetLevelIndex: 0, + }, + } + + SugarRushBetBetLevel = map[int64]*structs.SugarRushBetBetLevel{ + 0: { + Index: 0, + BetLevel: 1, + }, + 1: { + Index: 1, + BetLevel: 2, + }, + 2: { + Index: 2, + BetLevel: 3, + }, + 3: { + Index: 3, + BetLevel: 4, + }, + 4: { + Index: 4, + BetLevel: 5, + }, + 5: { + Index: 5, + BetLevel: 6, + }, + 6: { + Index: 6, + BetLevel: 7, + }, + 7: { + Index: 7, + BetLevel: 8, + }, + 8: { + Index: 8, + BetLevel: 9, + }, + 9: { + Index: 9, + BetLevel: 10, + }, + } + + SugarRushBetBetLine = map[int64]*structs.SugarRushBetBetLine{ + 0: { + Index: 0, + BetLine: 20, + BaseBet: 1, + }, + } + + SugarRushBetBetSize = map[int64]*structs.SugarRushBetBetSize{ + 0: { + Index: 0, + BetSize: 100, + }, + 1: { + Index: 1, + BetSize: 1000, + }, + 2: { + Index: 2, + BetSize: 2000, + }, + 3: { + Index: 3, + BetSize: 5000, + }, + 4: { + Index: 4, + BetSize: 7500, + }, + 5: { + Index: 5, + BetSize: 20000, + }, + 6: { + Index: 6, + BetSize: 1500, + }, + 7: { + Index: 7, + BetSize: 2500, + }, + 8: { + Index: 8, + BetSize: 12500, + }, + 9: { + Index: 9, + BetSize: 150000, + }, + } + + SugarRushBetFirstBet = map[int64]*structs.SugarRushBetFirstBet{ + 1: { + Index: 1, + BetSizeIndex: 1, + BetLevelIndex: 1, + }, + } + + SugarRushBuyFreeScatterShowWeight = []*structs.SugarRushBuyFreeScatterShowWeight{ + { + ID: 1, + ScatterCount: 1, + Weight: 0, + }, + { + ID: 2, + ScatterCount: 2, + Weight: 0, + }, + { + ID: 3, + ScatterCount: 3, + Weight: 1900, + }, + { + ID: 4, + ScatterCount: 4, + Weight: 99, + }, + { + ID: 5, + ScatterCount: 5, + Weight: 1, + }, + { + ID: 6, + ScatterCount: 6, + Weight: 0, + }, + { + ID: 7, + ScatterCount: 7, + Weight: 0, + }, + } + + SugarRushFormation = []*structs.SugarRushFormation{ + { + SpinType: 1, + NodeType: "BaseSpin", + ID: 1, + SeqID: 1, + Reel: "BaseSpin", + Matrix: "MatchForm7X7TypeA", + Symbol: "Default", + FirstInitMethod: 2, + OtherInitMethod: 3, + FirstInitSymbols: []int64{}, + OtherInitSymbols: []int64{}, + }, + { + SpinType: 2, + NodeType: "FreeSpin", + ID: 2, + SeqID: 1, + Reel: "FreeSpin", + Matrix: "MatchForm7X7TypeA", + Symbol: "Default", + FirstInitMethod: 3, + OtherInitMethod: 3, + FirstInitSymbols: []int64{}, + OtherInitSymbols: []int64{}, + }, + } + + SugarRushFreeSymbolShowWeight = []*structs.SugarRushFreeSymbolShowWeight{ + { + ID: 1, + ItemID: 1, + Weight: 8, + }, + { + ID: 2, + ItemID: 2, + Weight: 0, + }, + { + ID: 3, + ItemID: 3, + Weight: 100, + }, + { + ID: 4, + ItemID: 4, + Weight: 120, + }, + { + ID: 5, + ItemID: 5, + Weight: 120, + }, + { + ID: 6, + ItemID: 6, + Weight: 150, + }, + { + ID: 7, + ItemID: 7, + Weight: 150, + }, + { + ID: 8, + ItemID: 8, + Weight: 150, + }, + { + ID: 9, + ItemID: 9, + Weight: 150, + }, + } + + SugarRushFreeSymbolShowNumberWeight = []*structs.SugarRushFreeSymbolShowNumberWeight{ + { + ID: 1, + ItemID: 1, + ShowNumberWeight: []float64{1, 0, 0, 0, 0, 0, 0}, + }, + { + ID: 2, + ItemID: 2, + ShowNumberWeight: []float64{0, 0, 0, 0, 0, 0, 0}, + }, + { + ID: 3, + ItemID: 3, + ShowNumberWeight: []float64{40, 50, 5, 0, 0, 0, 0}, + }, + { + ID: 4, + ItemID: 4, + ShowNumberWeight: []float64{50, 60, 6, 0, 0, 0, 0}, + }, + { + ID: 5, + ItemID: 5, + ShowNumberWeight: []float64{50, 60, 6, 0, 0, 0, 0}, + }, + { + ID: 6, + ItemID: 6, + ShowNumberWeight: []float64{80, 90, 9, 0, 0, 0, 0}, + }, + { + ID: 7, + ItemID: 7, + ShowNumberWeight: []float64{90, 100, 20, 0, 0, 0, 0}, + }, + { + ID: 8, + ItemID: 8, + ShowNumberWeight: []float64{90, 100, 20, 0, 0, 0, 0}, + }, + { + ID: 9, + ItemID: 9, + ShowNumberWeight: []float64{90, 100, 20, 0, 0, 0, 0}, + }, + } + + SugarRushMultiplier = []*structs.SugarRushMultiplier{ + { + ID: 1, + MatchTimes: 0, + Activate: 0, + Multiple: 0, + }, + { + ID: 2, + MatchTimes: 1, + Activate: 0, + Multiple: 0, + }, + { + ID: 3, + MatchTimes: 2, + Activate: 1, + Multiple: 2, + }, + { + ID: 4, + MatchTimes: 3, + Activate: 1, + Multiple: 4, + }, + { + ID: 5, + MatchTimes: 4, + Activate: 1, + Multiple: 8, + }, + { + ID: 6, + MatchTimes: 5, + Activate: 1, + Multiple: 16, + }, + { + ID: 7, + MatchTimes: 6, + Activate: 1, + Multiple: 32, + }, + { + ID: 8, + MatchTimes: 7, + Activate: 1, + Multiple: 64, + }, + { + ID: 9, + MatchTimes: 8, + Activate: 1, + Multiple: 128, + }, + } + + SugarRushOthers = []*structs.SugarRushOthers{ + { + MaxScatterPerCol: 1, + BuyFreeTotalBetMultiplier: 100, + FallWeightMultiplier: 1, + FreespinMaxWin: 5000, + }, + } + + SugarRushReelBaseSpinRange = [][]int64{ + {7, 7, 7, 7, 7, 7, 7}, + } + + SugarRushReelBaseSpinReel = [][]int64{ + {5, 8, 8, 5, 8, 8, 7}, + {6, 7, 4, 6, 7, 4, 3}, + {5, 9, 5, 5, 9, 5, 9}, + {3, 5, 6, 3, 5, 6, 6}, + {9, 3, 7, 9, 3, 7, 9}, + {6, 6, 8, 6, 6, 8, 3}, + {9, 6, 9, 9, 6, 9, 5}, + } + + SugarRushReelBaseSpinWeight = [][]float64{ + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + } + + SugarRushReelFreeSpinRange = [][]int64{ + {7, 7, 7, 7, 7, 7, 7}, + } + + SugarRushReelFreeSpinReel = [][]int64{ + {1, 2, 3, 4, 5, 6, 7}, + {1, 2, 3, 4, 5, 6, 7}, + {1, 2, 3, 4, 5, 6, 7}, + {1, 2, 3, 4, 5, 6, 7}, + {1, 2, 3, 4, 5, 6, 7}, + {1, 2, 3, 4, 5, 6, 7}, + {1, 2, 3, 4, 5, 6, 7}, + } + + SugarRushReelFreeSpinWeight = [][]float64{ + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1}, + } + + SugarRushScatter = map[int64]*structs.SugarRushScatter{ + 1: { + ScatterCount: 1, + FreeSpinBouts: 0, + FreeSpinExtraBouts: 0, + BasePayrate: 0, + FreePayrate: 0, + }, + 2: { + ScatterCount: 2, + FreeSpinBouts: 0, + FreeSpinExtraBouts: 0, + BasePayrate: 0, + FreePayrate: 0, + }, + 3: { + ScatterCount: 3, + FreeSpinBouts: 10, + FreeSpinExtraBouts: 10, + BasePayrate: 0, + FreePayrate: 0, + }, + 4: { + ScatterCount: 4, + FreeSpinBouts: 12, + FreeSpinExtraBouts: 12, + BasePayrate: 0, + FreePayrate: 0, + }, + 5: { + ScatterCount: 5, + FreeSpinBouts: 15, + FreeSpinExtraBouts: 15, + BasePayrate: 0, + FreePayrate: 0, + }, + 6: { + ScatterCount: 6, + FreeSpinBouts: 20, + FreeSpinExtraBouts: 20, + BasePayrate: 0, + FreePayrate: 0, + }, + 7: { + ScatterCount: 7, + FreeSpinBouts: 30, + FreeSpinExtraBouts: 30, + BasePayrate: 0, + FreePayrate: 0, + }, + } + + SugarRushSymbol = map[int64]*structs.SugarRushSymbol{ + 1: { + ID: 1, + Name: "Scatter", + IsWild: false, + Group: []int64{1}, + PayRate: []int64{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + ClientOrder: 0, + ClientDsc: "", + }, + 2: { + ID: 2, + Name: "无", + IsWild: false, + Group: []int64{2}, + PayRate: []int64{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + ClientOrder: 0, + ClientDsc: "", + }, + 3: { + ID: 3, + Name: "粉球", + IsWild: false, + Group: []int64{3}, + PayRate: []int64{0, 0, 0, 0, 20, 30, 35, 40, 50, 100, 150, 300, 700, 1400, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000}, + ClientOrder: 1, + ClientDsc: "", + }, + 4: { + ID: 4, + Name: "橙心", + IsWild: false, + Group: []int64{4}, + PayRate: []int64{0, 0, 0, 0, 15, 20, 25, 30, 40, 80, 120, 250, 600, 1200, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000}, + ClientOrder: 2, + ClientDsc: "", + }, + 5: { + ID: 5, + Name: "紫豆", + IsWild: false, + Group: []int64{5}, + PayRate: []int64{0, 0, 0, 0, 10, 15, 20, 25, 30, 60, 90, 200, 400, 800, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200}, + ClientOrder: 3, + ClientDsc: "", + }, + 6: { + ID: 6, + Name: "绿星", + IsWild: false, + Group: []int64{6}, + PayRate: []int64{0, 0, 0, 0, 8, 10, 15, 20, 25, 40, 60, 100, 200, 400, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800}, + ClientOrder: 4, + ClientDsc: "", + }, + 7: { + ID: 7, + Name: "红熊", + IsWild: false, + Group: []int64{7}, + PayRate: []int64{0, 0, 0, 0, 6, 8, 10, 15, 20, 30, 50, 70, 160, 300, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600, 600}, + ClientOrder: 5, + ClientDsc: "", + }, + 8: { + ID: 8, + Name: "紫熊", + IsWild: false, + Group: []int64{8}, + PayRate: []int64{0, 0, 0, 0, 5, 6, 8, 10, 15, 25, 40, 60, 120, 240, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500}, + ClientOrder: 6, + ClientDsc: "", + }, + 9: { + ID: 9, + Name: "橙熊", + IsWild: false, + Group: []int64{9}, + PayRate: []int64{0, 0, 0, 0, 4, 5, 6, 8, 10, 20, 30, 50, 100, 200, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400}, + ClientOrder: 7, + ClientDsc: "", + }, + } + + SugarRushSymbolBetRatio = []*structs.SugarRushSymbolBetRatio{ + { + BetRatio: 1, + }, + } + +} \ No newline at end of file diff --git a/gamesrv/slotspkg/internal/exported/excel2go/base/var.go b/gamesrv/slotspkg/internal/exported/excel2go/base/var.go index 9e1fb21..51827c9 100644 --- a/gamesrv/slotspkg/internal/exported/excel2go/base/var.go +++ b/gamesrv/slotspkg/internal/exported/excel2go/base/var.go @@ -250,6 +250,28 @@ var ( PrizeModelPrizeModelTypeB = map[int64]*structs.PrizeModelPrizeModelTypeB{} SimulatorFSMultiLevel = []*structs.SimulatorFSMultiLevel{} SimulatorMultiLevel = []*structs.SimulatorMultiLevel{} + SugarRushBaseSymbolShowWeight = []*structs.SugarRushBaseSymbolShowWeight{} + SugarRushBaseSymbolShowNumberWeight = []*structs.SugarRushBaseSymbolShowNumberWeight{} + SugarRushBetBetChangeList = map[int64]*structs.SugarRushBetBetChangeList{} + SugarRushBetBetLevel = map[int64]*structs.SugarRushBetBetLevel{} + SugarRushBetBetLine = map[int64]*structs.SugarRushBetBetLine{} + SugarRushBetBetSize = map[int64]*structs.SugarRushBetBetSize{} + SugarRushBetFirstBet = map[int64]*structs.SugarRushBetFirstBet{} + SugarRushBuyFreeScatterShowWeight = []*structs.SugarRushBuyFreeScatterShowWeight{} + SugarRushFormation = []*structs.SugarRushFormation{} + SugarRushFreeSymbolShowWeight = []*structs.SugarRushFreeSymbolShowWeight{} + SugarRushFreeSymbolShowNumberWeight = []*structs.SugarRushFreeSymbolShowNumberWeight{} + SugarRushMultiplier = []*structs.SugarRushMultiplier{} + SugarRushOthers = []*structs.SugarRushOthers{} + SugarRushReelBaseSpinRange = [][]int64{} + SugarRushReelBaseSpinReel = [][]int64{} + SugarRushReelBaseSpinWeight = [][]float64{} + SugarRushReelFreeSpinRange = [][]int64{} + SugarRushReelFreeSpinReel = [][]int64{} + SugarRushReelFreeSpinWeight = [][]float64{} + SugarRushScatter = map[int64]*structs.SugarRushScatter{} + SugarRushSymbolBetRatio = []*structs.SugarRushSymbolBetRatio{} + SugarRushSymbol = map[int64]*structs.SugarRushSymbol{} TestBetBetChangeList = map[int64]*structs.TestBetBetChangeList{} TestBetBetLevel = map[int64]*structs.TestBetBetLevel{} TestBetBetLine = map[int64]*structs.TestBetBetLine{} diff --git a/gamesrv/slotspkg/internal/exported/excel2go/storage/storage.go b/gamesrv/slotspkg/internal/exported/excel2go/storage/storage.go index eaa44d3..e917d9b 100644 --- a/gamesrv/slotspkg/internal/exported/excel2go/storage/storage.go +++ b/gamesrv/slotspkg/internal/exported/excel2go/storage/storage.go @@ -309,6 +309,28 @@ func StoragesLoading(data map[string]string) { Load(data, "Base.PrizeModel/PrizeModelTypeB.Default", &base.PrizeModelPrizeModelTypeB) Load(data, "Base.Simulator.FSMultiLevel", &base.SimulatorFSMultiLevel) Load(data, "Base.Simulator.MultiLevel", &base.SimulatorMultiLevel) + Load(data, "Base.SugarRush/BaseSymbolShow.Weight", &base.SugarRushBaseSymbolShowWeight) + Load(data, "Base.SugarRush/BaseSymbolShowNumber.Weight", &base.SugarRushBaseSymbolShowNumberWeight) + Load(data, "Base.SugarRush/Bet.BetChangeList", &base.SugarRushBetBetChangeList) + Load(data, "Base.SugarRush/Bet.BetLevel", &base.SugarRushBetBetLevel) + Load(data, "Base.SugarRush/Bet.BetLine", &base.SugarRushBetBetLine) + Load(data, "Base.SugarRush/Bet.BetSize", &base.SugarRushBetBetSize) + Load(data, "Base.SugarRush/Bet.FirstBet", &base.SugarRushBetFirstBet) + Load(data, "Base.SugarRush/BuyFreeScatterShow.Weight", &base.SugarRushBuyFreeScatterShowWeight) + Load(data, "Base.SugarRush/Formation.Default", &base.SugarRushFormation) + Load(data, "Base.SugarRush/FreeSymbolShow.Weight", &base.SugarRushFreeSymbolShowWeight) + Load(data, "Base.SugarRush/FreeSymbolShowNumber.Weight", &base.SugarRushFreeSymbolShowNumberWeight) + Load(data, "Base.SugarRush/Multiplier.Default", &base.SugarRushMultiplier) + Load(data, "Base.SugarRush/Others.Default", &base.SugarRushOthers) + Load(data, "Base.SugarRush/ReelBaseSpin.Range", &base.SugarRushReelBaseSpinRange) + Load(data, "Base.SugarRush/ReelBaseSpin.Reel", &base.SugarRushReelBaseSpinReel) + Load(data, "Base.SugarRush/ReelBaseSpin.Weight", &base.SugarRushReelBaseSpinWeight) + Load(data, "Base.SugarRush/ReelFreeSpin.Range", &base.SugarRushReelFreeSpinRange) + Load(data, "Base.SugarRush/ReelFreeSpin.Reel", &base.SugarRushReelFreeSpinReel) + Load(data, "Base.SugarRush/ReelFreeSpin.Weight", &base.SugarRushReelFreeSpinWeight) + Load(data, "Base.SugarRush/Scatter.Default", &base.SugarRushScatter) + Load(data, "Base.SugarRush/Symbol.BetRatio", &base.SugarRushSymbolBetRatio) + Load(data, "Base.SugarRush/Symbol.Default", &base.SugarRushSymbol) Load(data, "Base.Test/Bet.BetChangeList", &base.TestBetBetChangeList) Load(data, "Base.Test/Bet.BetLevel", &base.TestBetBetLevel) Load(data, "Base.Test/Bet.BetLine", &base.TestBetBetLine) @@ -571,6 +593,28 @@ func StoragesMapping() { Set("Base", "PrizeModel/PrizeModelTypeB", "Default", base.PrizeModelPrizeModelTypeB) Set("Base", "Simulator", "FSMultiLevel", base.SimulatorFSMultiLevel) Set("Base", "Simulator", "MultiLevel", base.SimulatorMultiLevel) + Set("Base", "SugarRush/BaseSymbolShow", "Weight", base.SugarRushBaseSymbolShowWeight) + Set("Base", "SugarRush/BaseSymbolShowNumber", "Weight", base.SugarRushBaseSymbolShowNumberWeight) + Set("Base", "SugarRush/Bet", "BetChangeList", base.SugarRushBetBetChangeList) + Set("Base", "SugarRush/Bet", "BetLevel", base.SugarRushBetBetLevel) + Set("Base", "SugarRush/Bet", "BetLine", base.SugarRushBetBetLine) + Set("Base", "SugarRush/Bet", "BetSize", base.SugarRushBetBetSize) + Set("Base", "SugarRush/Bet", "FirstBet", base.SugarRushBetFirstBet) + Set("Base", "SugarRush/BuyFreeScatterShow", "Weight", base.SugarRushBuyFreeScatterShowWeight) + Set("Base", "SugarRush/Formation", "Default", base.SugarRushFormation) + Set("Base", "SugarRush/FreeSymbolShow", "Weight", base.SugarRushFreeSymbolShowWeight) + Set("Base", "SugarRush/FreeSymbolShowNumber", "Weight", base.SugarRushFreeSymbolShowNumberWeight) + Set("Base", "SugarRush/Multiplier", "Default", base.SugarRushMultiplier) + Set("Base", "SugarRush/Others", "Default", base.SugarRushOthers) + Set("Base", "SugarRush/ReelBaseSpin", "Range", base.SugarRushReelBaseSpinRange) + Set("Base", "SugarRush/ReelBaseSpin", "Reel", base.SugarRushReelBaseSpinReel) + Set("Base", "SugarRush/ReelBaseSpin", "Weight", base.SugarRushReelBaseSpinWeight) + Set("Base", "SugarRush/ReelFreeSpin", "Range", base.SugarRushReelFreeSpinRange) + Set("Base", "SugarRush/ReelFreeSpin", "Reel", base.SugarRushReelFreeSpinReel) + Set("Base", "SugarRush/ReelFreeSpin", "Weight", base.SugarRushReelFreeSpinWeight) + Set("Base", "SugarRush/Scatter", "Default", base.SugarRushScatter) + Set("Base", "SugarRush/Symbol", "BetRatio", base.SugarRushSymbolBetRatio) + Set("Base", "SugarRush/Symbol", "Default", base.SugarRushSymbol) Set("Base", "Test/Bet", "BetChangeList", base.TestBetBetChangeList) Set("Base", "Test/Bet", "BetLevel", base.TestBetBetLevel) Set("Base", "Test/Bet", "BetLine", base.TestBetBetLine) @@ -626,6 +670,11 @@ func LinksMapping() { Link("GatesOfOlympus/ReelBaseSpin1", "Weight/1", "GatesOfOlympus/ReelBaseSpin1", "Weight") Link("GatesOfOlympus/ReelBaseSpin1", "Weight/2", "GatesOfOlympus/ReelBaseSpin1", "Weight") Link("GatesOfOlympus/ReelBaseSpin1", "Weight/3", "GatesOfOlympus/ReelBaseSpin1", "Weight") + Link("SugarRush/MatrixMatchForm7X7TypeA", "Default", "Matrix/MatchForm7X7TypeA", "Default") + Link("SugarRush/PrizeModel", "Default", "PrizeModel/PrizeModelTypeB", "Default") + Link("SugarRush/ReelBaseSpin", "Weight/1", "SugarRush/ReelBaseSpin", "Weight") + Link("SugarRush/ReelBaseSpin", "Weight/2", "SugarRush/ReelBaseSpin", "Weight") + Link("SugarRush/ReelBaseSpin", "Weight/3", "SugarRush/ReelBaseSpin", "Weight") Link("Test/MatrixLine1Form3X3TypeA", "Default", "Matrix/Line1Form3X3TypeA", "Default") Link("Test/PrizeModel", "Default", "PrizeModel/PrizeModelTypeB", "Default") Link("Test/ReelBaseSpin", "Weight/1", "Test/ReelBaseSpin", "Weight") diff --git a/gamesrv/slotspkg/internal/exported/excel2go/structs/structs.go b/gamesrv/slotspkg/internal/exported/excel2go/structs/structs.go index 501a0e7..fb81e1e 100644 --- a/gamesrv/slotspkg/internal/exported/excel2go/structs/structs.go +++ b/gamesrv/slotspkg/internal/exported/excel2go/structs/structs.go @@ -261,6 +261,32 @@ type ( Min int64 Max int64 } + // SugarRushBaseSymbolShowNumberWeight comment + SugarRushBaseSymbolShowNumberWeight struct { + ID int64 + ItemID int64 + ShowNumberWeight []float64 + } + // SugarRushBuyFreeScatterShowWeight comment + SugarRushBuyFreeScatterShowWeight struct { + ID int64 + ScatterCount int64 + Weight float64 + } + // SugarRushMultiplier comment + SugarRushMultiplier struct { + ID int64 + MatchTimes int64 + Activate int64 + Multiple int64 + } + // SugarRushOthers comment + SugarRushOthers struct { + MaxScatterPerCol int64 + BuyFreeTotalBetMultiplier int64 + FallWeightMultiplier int64 + FreespinMaxWin int64 + } // SuperStackWeight comment SuperStackWeight struct { ID int64 @@ -834,6 +860,42 @@ type ( // SimulatorMultiLevel comment SimulatorMultiLevel = SimulatorFSMultiLevel + // SugarRushBaseSymbolShowWeight comment + SugarRushBaseSymbolShowWeight = SuperStackWeight + + // SugarRushBetBetChangeList comment + SugarRushBetBetChangeList = BetChangeList + + // SugarRushBetBetLevel comment + SugarRushBetBetLevel = BetLevel + + // SugarRushBetBetLine comment + SugarRushBetBetLine = BetLine + + // SugarRushBetBetSize comment + SugarRushBetBetSize = BetSize + + // SugarRushBetFirstBet comment + SugarRushBetFirstBet = FirstBet + + // SugarRushFormation comment + SugarRushFormation = Formation + + // SugarRushFreeSymbolShowNumberWeight comment + SugarRushFreeSymbolShowNumberWeight = SugarRushBaseSymbolShowNumberWeight + + // SugarRushFreeSymbolShowWeight comment + SugarRushFreeSymbolShowWeight = SuperStackWeight + + // SugarRushScatter comment + SugarRushScatter = Scatter + + // SugarRushSymbol comment + SugarRushSymbol = Symbol + + // SugarRushSymbolBetRatio comment + SugarRushSymbolBetRatio = SymbolBetRatio + // TestBetBetChangeList comment TestBetBetChangeList = BetChangeList