Compare commits
4 Commits
eb75f9769e
...
0c1c2f533a
Author | SHA1 | Date |
---|---|---|
|
0c1c2f533a | |
|
ac06b94a75 | |
|
7b2d6a8694 | |
|
ae711f5eec |
|
@ -215,7 +215,6 @@ func GatesOfOlympusCreateRoomInfoPacket(s *base.Scene, sceneEx *GatesOfOlympusSc
|
||||||
Response, err := slots.SlotsMgrSington.Enter(playerEx.SlotsSession, int64(s.GameId))
|
Response, err := slots.SlotsMgrSington.Enter(playerEx.SlotsSession, int64(s.GameId))
|
||||||
if err == nil {
|
if err == nil {
|
||||||
data := assemble.DataToCli(Response).(assemble.TableInfo)
|
data := assemble.DataToCli(Response).(assemble.TableInfo)
|
||||||
data.BetConfig.BetSize = data.BetConfig.BetSize[:6]
|
|
||||||
pi, _ := json.Marshal(data)
|
pi, _ := json.Marshal(data)
|
||||||
pack.PlayerInfo = string(pi)
|
pack.PlayerInfo = string(pi)
|
||||||
if sceneEx.BetConfig == nil {
|
if sceneEx.BetConfig == nil {
|
||||||
|
|
Binary file not shown.
|
@ -10,298 +10,244 @@ func init() {
|
||||||
GatesOfOlympusBetBetChangeList = map[int64]*structs.GatesOfOlympusBetBetChangeList{
|
GatesOfOlympusBetBetChangeList = map[int64]*structs.GatesOfOlympusBetBetChangeList{
|
||||||
0: {
|
0: {
|
||||||
Index: 0,
|
Index: 0,
|
||||||
BetChangeList: 0.2,
|
BetChangeList: 2000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 0,
|
BetLevelIndex: 0,
|
||||||
},
|
},
|
||||||
1: {
|
1: {
|
||||||
Index: 1,
|
Index: 1,
|
||||||
BetChangeList: 0.4,
|
BetChangeList: 4000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 1,
|
BetLevelIndex: 1,
|
||||||
},
|
},
|
||||||
2: {
|
2: {
|
||||||
Index: 2,
|
Index: 2,
|
||||||
BetChangeList: 0.6,
|
BetChangeList: 6000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 2,
|
BetLevelIndex: 2,
|
||||||
},
|
},
|
||||||
3: {
|
3: {
|
||||||
Index: 3,
|
Index: 3,
|
||||||
BetChangeList: 0.8,
|
BetChangeList: 8000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 3,
|
BetLevelIndex: 3,
|
||||||
},
|
},
|
||||||
4: {
|
4: {
|
||||||
Index: 4,
|
Index: 4,
|
||||||
BetChangeList: 1,
|
BetChangeList: 10000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 4,
|
BetLevelIndex: 4,
|
||||||
},
|
},
|
||||||
5: {
|
5: {
|
||||||
Index: 5,
|
Index: 5,
|
||||||
BetChangeList: 1.2,
|
BetChangeList: 12000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 5,
|
BetLevelIndex: 5,
|
||||||
},
|
},
|
||||||
6: {
|
6: {
|
||||||
Index: 6,
|
Index: 6,
|
||||||
BetChangeList: 1.4,
|
BetChangeList: 14000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 6,
|
BetLevelIndex: 6,
|
||||||
},
|
},
|
||||||
7: {
|
7: {
|
||||||
Index: 7,
|
Index: 7,
|
||||||
BetChangeList: 1.6,
|
BetChangeList: 16000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 7,
|
BetLevelIndex: 7,
|
||||||
},
|
},
|
||||||
8: {
|
8: {
|
||||||
Index: 8,
|
Index: 8,
|
||||||
BetChangeList: 1.8,
|
BetChangeList: 18000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 8,
|
BetLevelIndex: 8,
|
||||||
},
|
},
|
||||||
9: {
|
9: {
|
||||||
Index: 9,
|
Index: 9,
|
||||||
BetChangeList: 2,
|
BetChangeList: 20000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 9,
|
BetLevelIndex: 9,
|
||||||
},
|
},
|
||||||
10: {
|
10: {
|
||||||
Index: 10,
|
Index: 10,
|
||||||
BetChangeList: 4,
|
BetChangeList: 24000,
|
||||||
BetSizeIndex: 1,
|
|
||||||
BetLevelIndex: 1,
|
|
||||||
},
|
|
||||||
11: {
|
|
||||||
Index: 11,
|
|
||||||
BetChangeList: 6,
|
|
||||||
BetSizeIndex: 1,
|
|
||||||
BetLevelIndex: 2,
|
|
||||||
},
|
|
||||||
12: {
|
|
||||||
Index: 12,
|
|
||||||
BetChangeList: 8,
|
|
||||||
BetSizeIndex: 1,
|
BetSizeIndex: 1,
|
||||||
BetLevelIndex: 3,
|
BetLevelIndex: 3,
|
||||||
},
|
},
|
||||||
13: {
|
11: {
|
||||||
Index: 13,
|
Index: 11,
|
||||||
BetChangeList: 10,
|
BetChangeList: 30000,
|
||||||
BetSizeIndex: 1,
|
BetSizeIndex: 1,
|
||||||
BetLevelIndex: 4,
|
BetLevelIndex: 4,
|
||||||
},
|
},
|
||||||
|
12: {
|
||||||
|
Index: 12,
|
||||||
|
BetChangeList: 36000,
|
||||||
|
BetSizeIndex: 1,
|
||||||
|
BetLevelIndex: 5,
|
||||||
|
},
|
||||||
|
13: {
|
||||||
|
Index: 13,
|
||||||
|
BetChangeList: 40000,
|
||||||
|
BetSizeIndex: 2,
|
||||||
|
BetLevelIndex: 3,
|
||||||
|
},
|
||||||
14: {
|
14: {
|
||||||
Index: 14,
|
Index: 14,
|
||||||
BetChangeList: 12,
|
BetChangeList: 42000,
|
||||||
BetSizeIndex: 1,
|
BetSizeIndex: 1,
|
||||||
BetLevelIndex: 5,
|
BetLevelIndex: 6,
|
||||||
},
|
},
|
||||||
15: {
|
15: {
|
||||||
Index: 15,
|
Index: 15,
|
||||||
BetChangeList: 14,
|
BetChangeList: 48000,
|
||||||
BetSizeIndex: 1,
|
BetSizeIndex: 1,
|
||||||
BetLevelIndex: 6,
|
BetLevelIndex: 7,
|
||||||
},
|
},
|
||||||
16: {
|
16: {
|
||||||
Index: 16,
|
Index: 16,
|
||||||
BetChangeList: 15,
|
BetChangeList: 50000,
|
||||||
BetSizeIndex: 4,
|
BetSizeIndex: 2,
|
||||||
BetLevelIndex: 0,
|
BetLevelIndex: 4,
|
||||||
},
|
},
|
||||||
17: {
|
17: {
|
||||||
Index: 17,
|
Index: 17,
|
||||||
BetChangeList: 16,
|
BetChangeList: 54000,
|
||||||
BetSizeIndex: 1,
|
BetSizeIndex: 1,
|
||||||
BetLevelIndex: 7,
|
BetLevelIndex: 8,
|
||||||
},
|
},
|
||||||
18: {
|
18: {
|
||||||
Index: 18,
|
Index: 18,
|
||||||
BetChangeList: 18,
|
BetChangeList: 60000,
|
||||||
BetSizeIndex: 1,
|
BetSizeIndex: 1,
|
||||||
BetLevelIndex: 8,
|
BetLevelIndex: 9,
|
||||||
},
|
},
|
||||||
19: {
|
19: {
|
||||||
Index: 19,
|
Index: 19,
|
||||||
BetChangeList: 20,
|
BetChangeList: 70000,
|
||||||
BetSizeIndex: 1,
|
|
||||||
BetLevelIndex: 9,
|
|
||||||
},
|
|
||||||
20: {
|
|
||||||
Index: 20,
|
|
||||||
BetChangeList: 24,
|
|
||||||
BetSizeIndex: 2,
|
|
||||||
BetLevelIndex: 5,
|
|
||||||
},
|
|
||||||
21: {
|
|
||||||
Index: 21,
|
|
||||||
BetChangeList: 28,
|
|
||||||
BetSizeIndex: 2,
|
BetSizeIndex: 2,
|
||||||
BetLevelIndex: 6,
|
BetLevelIndex: 6,
|
||||||
},
|
},
|
||||||
22: {
|
20: {
|
||||||
Index: 22,
|
Index: 20,
|
||||||
BetChangeList: 30,
|
BetChangeList: 80000,
|
||||||
BetSizeIndex: 3,
|
|
||||||
BetLevelIndex: 2,
|
|
||||||
},
|
|
||||||
23: {
|
|
||||||
Index: 23,
|
|
||||||
BetChangeList: 32,
|
|
||||||
BetSizeIndex: 2,
|
BetSizeIndex: 2,
|
||||||
BetLevelIndex: 7,
|
BetLevelIndex: 7,
|
||||||
},
|
},
|
||||||
24: {
|
21: {
|
||||||
Index: 24,
|
Index: 21,
|
||||||
BetChangeList: 36,
|
BetChangeList: 90000,
|
||||||
BetSizeIndex: 2,
|
BetSizeIndex: 2,
|
||||||
BetLevelIndex: 8,
|
BetLevelIndex: 8,
|
||||||
},
|
},
|
||||||
25: {
|
22: {
|
||||||
Index: 25,
|
Index: 22,
|
||||||
BetChangeList: 40,
|
BetChangeList: 100000,
|
||||||
BetSizeIndex: 2,
|
BetSizeIndex: 2,
|
||||||
BetLevelIndex: 9,
|
BetLevelIndex: 9,
|
||||||
},
|
},
|
||||||
|
23: {
|
||||||
|
Index: 23,
|
||||||
|
BetChangeList: 120000,
|
||||||
|
BetSizeIndex: 3,
|
||||||
|
BetLevelIndex: 5,
|
||||||
|
},
|
||||||
|
24: {
|
||||||
|
Index: 24,
|
||||||
|
BetChangeList: 140000,
|
||||||
|
BetSizeIndex: 3,
|
||||||
|
BetLevelIndex: 6,
|
||||||
|
},
|
||||||
|
25: {
|
||||||
|
Index: 25,
|
||||||
|
BetChangeList: 160000,
|
||||||
|
BetSizeIndex: 3,
|
||||||
|
BetLevelIndex: 7,
|
||||||
|
},
|
||||||
26: {
|
26: {
|
||||||
Index: 26,
|
Index: 26,
|
||||||
BetChangeList: 45,
|
BetChangeList: 180000,
|
||||||
BetSizeIndex: 4,
|
BetSizeIndex: 3,
|
||||||
BetLevelIndex: 2,
|
BetLevelIndex: 8,
|
||||||
},
|
},
|
||||||
27: {
|
27: {
|
||||||
Index: 27,
|
Index: 27,
|
||||||
BetChangeList: 50,
|
BetChangeList: 200000,
|
||||||
BetSizeIndex: 3,
|
BetSizeIndex: 3,
|
||||||
BetLevelIndex: 4,
|
BetLevelIndex: 9,
|
||||||
},
|
},
|
||||||
28: {
|
28: {
|
||||||
Index: 28,
|
Index: 28,
|
||||||
BetChangeList: 60,
|
BetChangeList: 240000,
|
||||||
BetSizeIndex: 3,
|
BetSizeIndex: 4,
|
||||||
BetLevelIndex: 5,
|
BetLevelIndex: 5,
|
||||||
},
|
},
|
||||||
29: {
|
29: {
|
||||||
Index: 29,
|
Index: 29,
|
||||||
BetChangeList: 70,
|
BetChangeList: 280000,
|
||||||
BetSizeIndex: 3,
|
BetSizeIndex: 4,
|
||||||
BetLevelIndex: 6,
|
BetLevelIndex: 6,
|
||||||
},
|
},
|
||||||
30: {
|
30: {
|
||||||
Index: 30,
|
Index: 30,
|
||||||
BetChangeList: 75,
|
BetChangeList: 300000,
|
||||||
BetSizeIndex: 4,
|
BetSizeIndex: 5,
|
||||||
BetLevelIndex: 4,
|
BetLevelIndex: 2,
|
||||||
},
|
},
|
||||||
31: {
|
31: {
|
||||||
Index: 31,
|
Index: 31,
|
||||||
BetChangeList: 80,
|
BetChangeList: 320000,
|
||||||
BetSizeIndex: 3,
|
BetSizeIndex: 4,
|
||||||
BetLevelIndex: 7,
|
BetLevelIndex: 7,
|
||||||
},
|
},
|
||||||
32: {
|
32: {
|
||||||
Index: 32,
|
Index: 32,
|
||||||
BetChangeList: 90,
|
BetChangeList: 360000,
|
||||||
BetSizeIndex: 3,
|
BetSizeIndex: 4,
|
||||||
BetLevelIndex: 8,
|
BetLevelIndex: 8,
|
||||||
},
|
},
|
||||||
33: {
|
33: {
|
||||||
Index: 33,
|
Index: 33,
|
||||||
BetChangeList: 100,
|
BetChangeList: 400000,
|
||||||
BetSizeIndex: 3,
|
BetSizeIndex: 4,
|
||||||
BetLevelIndex: 9,
|
BetLevelIndex: 9,
|
||||||
},
|
},
|
||||||
34: {
|
34: {
|
||||||
Index: 34,
|
Index: 34,
|
||||||
BetChangeList: 105,
|
BetChangeList: 500000,
|
||||||
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,
|
BetSizeIndex: 5,
|
||||||
BetLevelIndex: 4,
|
BetLevelIndex: 4,
|
||||||
},
|
},
|
||||||
40: {
|
35: {
|
||||||
Index: 40,
|
Index: 35,
|
||||||
BetChangeList: 240,
|
BetChangeList: 600000,
|
||||||
BetSizeIndex: 5,
|
BetSizeIndex: 5,
|
||||||
BetLevelIndex: 5,
|
BetLevelIndex: 5,
|
||||||
},
|
},
|
||||||
41: {
|
36: {
|
||||||
Index: 41,
|
Index: 36,
|
||||||
BetChangeList: 280,
|
BetChangeList: 700000,
|
||||||
BetSizeIndex: 5,
|
BetSizeIndex: 5,
|
||||||
BetLevelIndex: 6,
|
BetLevelIndex: 6,
|
||||||
},
|
},
|
||||||
42: {
|
37: {
|
||||||
Index: 42,
|
Index: 37,
|
||||||
BetChangeList: 320,
|
BetChangeList: 800000,
|
||||||
BetSizeIndex: 5,
|
BetSizeIndex: 5,
|
||||||
BetLevelIndex: 7,
|
BetLevelIndex: 7,
|
||||||
},
|
},
|
||||||
43: {
|
38: {
|
||||||
Index: 43,
|
Index: 38,
|
||||||
BetChangeList: 360,
|
BetChangeList: 900000,
|
||||||
BetSizeIndex: 5,
|
BetSizeIndex: 5,
|
||||||
BetLevelIndex: 8,
|
BetLevelIndex: 8,
|
||||||
},
|
},
|
||||||
44: {
|
39: {
|
||||||
Index: 44,
|
Index: 39,
|
||||||
BetChangeList: 400,
|
BetChangeList: 1000000,
|
||||||
BetSizeIndex: 5,
|
BetSizeIndex: 5,
|
||||||
BetLevelIndex: 9,
|
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,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GatesOfOlympusBetBetLevel = map[int64]*structs.GatesOfOlympusBetBetLevel{
|
GatesOfOlympusBetBetLevel = map[int64]*structs.GatesOfOlympusBetBetLevel{
|
||||||
|
@ -358,43 +304,27 @@ func init() {
|
||||||
GatesOfOlympusBetBetSize = map[int64]*structs.GatesOfOlympusBetBetSize{
|
GatesOfOlympusBetBetSize = map[int64]*structs.GatesOfOlympusBetBetSize{
|
||||||
0: {
|
0: {
|
||||||
Index: 0,
|
Index: 0,
|
||||||
BetSize: 100,
|
BetSize: 1000000,
|
||||||
},
|
},
|
||||||
1: {
|
1: {
|
||||||
Index: 1,
|
Index: 1,
|
||||||
BetSize: 1000,
|
BetSize: 3000000,
|
||||||
},
|
},
|
||||||
2: {
|
2: {
|
||||||
Index: 2,
|
Index: 2,
|
||||||
BetSize: 2000,
|
BetSize: 5000000,
|
||||||
},
|
},
|
||||||
3: {
|
3: {
|
||||||
Index: 3,
|
Index: 3,
|
||||||
BetSize: 5000,
|
BetSize: 10000000,
|
||||||
},
|
},
|
||||||
4: {
|
4: {
|
||||||
Index: 4,
|
Index: 4,
|
||||||
BetSize: 7500,
|
BetSize: 20000000,
|
||||||
},
|
},
|
||||||
5: {
|
5: {
|
||||||
Index: 5,
|
Index: 5,
|
||||||
BetSize: 20000,
|
BetSize: 50000000,
|
||||||
},
|
|
||||||
6: {
|
|
||||||
Index: 6,
|
|
||||||
BetSize: 1500,
|
|
||||||
},
|
|
||||||
7: {
|
|
||||||
Index: 7,
|
|
||||||
BetSize: 2500,
|
|
||||||
},
|
|
||||||
8: {
|
|
||||||
Index: 8,
|
|
||||||
BetSize: 12500,
|
|
||||||
},
|
|
||||||
9: {
|
|
||||||
Index: 9,
|
|
||||||
BetSize: 150000,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,7 @@ func (f *Formation) ResetRandSymbols(r *randx.Randx) {
|
||||||
symbol := reelDesc.Reel[symbolIdx%length]
|
symbol := reelDesc.Reel[symbolIdx%length]
|
||||||
f.Symbols = append(f.Symbols, symbol)
|
f.Symbols = append(f.Symbols, symbol)
|
||||||
}
|
}
|
||||||
f.SymbolsAbove = append(f.SymbolsAbove, reelDesc.Reel[(startIdx-1)%length])
|
f.SymbolsAbove = append(f.SymbolsAbove, reelDesc.Reel[(startIdx-1+length)%length])
|
||||||
f.SymbolsBelow = append(f.SymbolsBelow, reelDesc.Reel[(startIdx+reelDesc.Range)%length])
|
f.SymbolsBelow = append(f.SymbolsBelow, reelDesc.Reel[(startIdx+reelDesc.Range)%length])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -137,7 +137,7 @@ func (f *Formation) ResetRandSymbolsByIndex(r *randx.Randx) {
|
||||||
symbol := reelDesc.Reel[symbolIdx%length]
|
symbol := reelDesc.Reel[symbolIdx%length]
|
||||||
f.Symbols = append(f.Symbols, symbol)
|
f.Symbols = append(f.Symbols, symbol)
|
||||||
}
|
}
|
||||||
f.SymbolsAbove = append(f.SymbolsAbove, reelDesc.Reel[(startIdx-1)%length])
|
f.SymbolsAbove = append(f.SymbolsAbove, reelDesc.Reel[(startIdx-1+length)%length])
|
||||||
f.SymbolsBelow = append(f.SymbolsBelow, reelDesc.Reel[(startIdx+reelDesc.Range)%length])
|
f.SymbolsBelow = append(f.SymbolsBelow, reelDesc.Reel[(startIdx+reelDesc.Range)%length])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue