[add] Slot1 FreeGame
This commit is contained in:
parent
a22640bd2b
commit
04789455a3
@ -5,8 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"build": "tsc && copyfiles -u 1 src/electron/index.html dist/ && copyfiles -u 1 src/electron/index.css dist/",
|
"build": "tsc && copyfiles -u 1 src/electron/index.html dist/ && copyfiles -u 1 src/electron/index.css dist/",
|
||||||
"pack": "electron-packager . SDServer --platform=win32 --arch=x64 --out=dist/",
|
"buildexe": "npm run build && electron-builder",
|
||||||
"buildexe": "npx electron-builder",
|
|
||||||
"api": "tsrpc-cli proto && tsrpc-cli api",
|
"api": "tsrpc-cli proto && tsrpc-cli api",
|
||||||
"watch": "nodemon"
|
"watch": "nodemon"
|
||||||
},
|
},
|
||||||
|
@ -8,15 +8,18 @@ export default function* (clientData: ClientData, req: INetRequest<RpcSlot1SpinR
|
|||||||
const data: RpcSlot1SpinRequest = req.Data
|
const data: RpcSlot1SpinRequest = req.Data
|
||||||
|
|
||||||
const temps: string[] = [
|
const temps: string[] = [
|
||||||
`{"slot":[11,4,8,9,5,2,13,10,7,9,10,6,6,12,4],"line":[[[5,11,12],161,2000]],"get":[[1,2000]]}`,
|
`{"slot":[13,9,5,14,4,9,4,12,12,11,4,14,8,7,6],"line":[[[10,6],195,300],[[10,6],213,300]]}`,
|
||||||
|
`{"slot":[9,9,10,13,4,5,4,3,4,11,10,14,14,14,5]}`,
|
||||||
`{"slot":[9,6,2,5,4,14,10,9,13,10,4,5,5,2,2]}`,
|
`{"slot":[12,6,8,12,11,7,12,11,5,5,11,5,3,10,9]}`,
|
||||||
|
`{"slot":[4,6,11,13,8,12,12,3,4,10,7,5,14,14,4]}`,
|
||||||
`{"slot":[4,3,3,3,9,10,14,14,9,4,7,8,8,5,10],"free":[[1,2,3],3],"scatter":[[[1,2,3],3000]],"get":[[1,2000]]}`,
|
`{"slot":[5,9,9,3,11,10,4,5,12,5,4,14,12,5,9],"line":[[[10,6],195,300],[[10,6],213,300]]}`,
|
||||||
|
`{"slot":[14,4,10,3,11,5,14,3,12,6,10,6,14,5,12],"line":[[[0,6,12],49,750]],"scatter":[[[3,7],3000]]}`,
|
||||||
|
`{"slot":[9,14,13,4,11,4,7,6,14,6,12,13,9,12,12]}`,
|
||||||
|
`{"slot":[10,3,12,13,5,6,4,8,4,9,13,14,11,14,4]}`,
|
||||||
|
`{"slot":[10,14,13,9,8,6,6,6,4,13,13,12,9,14,4],"line":[[[5,6,7],122,3000]]}`,
|
||||||
|
`{"slot":[11,13,9,8,5,8,5,5,13,9,14,9,12,4,7]}`,
|
||||||
];
|
];
|
||||||
const Data: any = JSON.parse(temps[RandomEx.GetInt(0, temps.length)]);
|
const Data: any = JSON.parse(temps[RandomEx.GetInt(0, temps.length)]);
|
||||||
Data["pay"] = [[1, -data.pay]];
|
|
||||||
Data["money"] = 9991304;
|
|
||||||
|
|
||||||
const response: INetResponse<RpcSlot1SpinResponse> = {
|
const response: INetResponse<RpcSlot1SpinResponse> = {
|
||||||
Status: 0,
|
Status: 0,
|
||||||
|
@ -12,7 +12,7 @@ export default function* (clientData: ClientData, req: INetRequest<RpcSlot1SpinR
|
|||||||
|
|
||||||
`{"slot":[9,6,2,5,4,14,10,9,13,10,4,5,5,2,2]}`,
|
`{"slot":[9,6,2,5,4,14,10,9,13,10,4,5,5,2,2]}`,
|
||||||
|
|
||||||
// `{"slot":[4,3,3,3,9,10,14,14,9,4,7,8,8,5,10],"free":[[1,2,3],3],"scatter":[[[1,2,3],3000]],"get":[[1,2000]]}`,
|
`{"slot":[4,3,3,3,9,10,14,14,9,4,7,8,8,5,10],"free":[[1,2,3],3],"scatter":[[[1,2,3],3000]],"get":[[1,2000]]}`,
|
||||||
];
|
];
|
||||||
const Data: any = JSON.parse(temps[RandomEx.GetInt(0, temps.length)]);
|
const Data: any = JSON.parse(temps[RandomEx.GetInt(0, temps.length)]);
|
||||||
clientData.money -= data.pay;
|
clientData.money -= data.pay;
|
||||||
|
Loading…
Reference in New Issue
Block a user