上传配置代码
This commit is contained in:
parent
b9fbdf2a51
commit
da97665797
607
bin/json/game_block.json
Normal file
607
bin/json/game_block.json
Normal file
@ -0,0 +1,607 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"key": 1,
|
||||||
|
"color": 1,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 0,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2,
|
||||||
|
"color": 2,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 0,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 3,
|
||||||
|
"color": 3,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 0,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 4,
|
||||||
|
"color": 4,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 0,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 5,
|
||||||
|
"color": 5,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 0,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 6,
|
||||||
|
"color": 6,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 0,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 7,
|
||||||
|
"color": 1,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 2,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 1,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 8,
|
||||||
|
"color": 1,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 3,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 2,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 9,
|
||||||
|
"color": 2,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 4,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 1,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 10,
|
||||||
|
"color": 2,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 5,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 2,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 11,
|
||||||
|
"color": 3,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 6,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 1,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 12,
|
||||||
|
"color": 3,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 7,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 2,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 13,
|
||||||
|
"color": 4,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 8,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 1,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 14,
|
||||||
|
"color": 4,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 9,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 2,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 15,
|
||||||
|
"color": 5,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 10,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 1,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 16,
|
||||||
|
"color": 5,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 11,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 2,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 17,
|
||||||
|
"color": 6,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 12,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 1,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 18,
|
||||||
|
"color": 6,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 13,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 840,
|
||||||
|
"score": 1,
|
||||||
|
"type": 2,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 19,
|
||||||
|
"color": 1,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 14,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 3,
|
||||||
|
"value": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 20,
|
||||||
|
"color": 2,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 15,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 3,
|
||||||
|
"value": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 21,
|
||||||
|
"color": 3,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 16,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 3,
|
||||||
|
"value": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 22,
|
||||||
|
"color": 4,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 17,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 3,
|
||||||
|
"value": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 23,
|
||||||
|
"color": 5,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 18,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 2500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 3,
|
||||||
|
"value": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 24,
|
||||||
|
"color": 6,
|
||||||
|
"belongto": 1,
|
||||||
|
"open": 19,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 2500,
|
||||||
|
"score": 1,
|
||||||
|
"type": 3,
|
||||||
|
"value": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 25,
|
||||||
|
"color": 7,
|
||||||
|
"belongto": 2,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 3,
|
||||||
|
"type": 0,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 26,
|
||||||
|
"color": 1,
|
||||||
|
"belongto": 3,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 4,
|
||||||
|
"value": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 27,
|
||||||
|
"color": 2,
|
||||||
|
"belongto": 3,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 4,
|
||||||
|
"value": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 28,
|
||||||
|
"color": 3,
|
||||||
|
"belongto": 3,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 4,
|
||||||
|
"value": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 29,
|
||||||
|
"color": 4,
|
||||||
|
"belongto": 3,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 4,
|
||||||
|
"value": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 30,
|
||||||
|
"color": 5,
|
||||||
|
"belongto": 3,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 4,
|
||||||
|
"value": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 31,
|
||||||
|
"color": 6,
|
||||||
|
"belongto": 3,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 4,
|
||||||
|
"value": 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 32,
|
||||||
|
"color": 1,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 5,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 33,
|
||||||
|
"color": 1,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 6,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 34,
|
||||||
|
"color": 1,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 7,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 35,
|
||||||
|
"color": 1,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 8,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 36,
|
||||||
|
"color": 2,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 5,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 37,
|
||||||
|
"color": 2,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 6,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 38,
|
||||||
|
"color": 2,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 7,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 39,
|
||||||
|
"color": 2,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 8,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 40,
|
||||||
|
"color": 3,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 5,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 41,
|
||||||
|
"color": 3,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 6,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 42,
|
||||||
|
"color": 3,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 7,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 43,
|
||||||
|
"color": 3,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 8,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 44,
|
||||||
|
"color": 4,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 5,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 45,
|
||||||
|
"color": 4,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 6,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 46,
|
||||||
|
"color": 4,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 7,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 47,
|
||||||
|
"color": 4,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 8,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 48,
|
||||||
|
"color": 5,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 5,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 49,
|
||||||
|
"color": 5,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 6,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 50,
|
||||||
|
"color": 5,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 7,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 51,
|
||||||
|
"color": 5,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 8,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 52,
|
||||||
|
"color": 6,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 5,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 53,
|
||||||
|
"color": 6,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 6,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 54,
|
||||||
|
"color": 6,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 7,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 55,
|
||||||
|
"color": 6,
|
||||||
|
"belongto": 4,
|
||||||
|
"open": 1,
|
||||||
|
"icon": "",
|
||||||
|
"weight": 1000,
|
||||||
|
"score": 1,
|
||||||
|
"type": 8,
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
450
bin/json/game_bukashiai.json
Normal file
450
bin/json/game_bukashiai.json
Normal file
@ -0,0 +1,450 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"MatchType": 1,
|
||||||
|
"QualifyingType": 1,
|
||||||
|
"BehaviorCD": 3,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 60,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"MatchType": 1,
|
||||||
|
"QualifyingType": 2,
|
||||||
|
"BehaviorCD": 3,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 50,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"MatchType": 1,
|
||||||
|
"QualifyingType": 3,
|
||||||
|
"BehaviorCD": 3,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 40,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"MatchType": 1,
|
||||||
|
"QualifyingType": 4,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 30,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
|
"MatchType": 1,
|
||||||
|
"QualifyingType": 5,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 20,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"MatchType": 1,
|
||||||
|
"QualifyingType": 6,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 20,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 7,
|
||||||
|
"MatchType": 1,
|
||||||
|
"QualifyingType": 7,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 20,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 8,
|
||||||
|
"MatchType": 1,
|
||||||
|
"QualifyingType": 8,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 20,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 9,
|
||||||
|
"MatchType": 2,
|
||||||
|
"QualifyingType": 1,
|
||||||
|
"BehaviorCD": 3,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 60,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 10,
|
||||||
|
"MatchType": 2,
|
||||||
|
"QualifyingType": 2,
|
||||||
|
"BehaviorCD": 3,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 50,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 11,
|
||||||
|
"MatchType": 2,
|
||||||
|
"QualifyingType": 3,
|
||||||
|
"BehaviorCD": 3,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 40,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 12,
|
||||||
|
"MatchType": 2,
|
||||||
|
"QualifyingType": 4,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 30,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 13,
|
||||||
|
"MatchType": 2,
|
||||||
|
"QualifyingType": 5,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 20,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 14,
|
||||||
|
"MatchType": 2,
|
||||||
|
"QualifyingType": 6,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 20,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 15,
|
||||||
|
"MatchType": 2,
|
||||||
|
"QualifyingType": 7,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 20,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 16,
|
||||||
|
"MatchType": 2,
|
||||||
|
"QualifyingType": 8,
|
||||||
|
"BehaviorCD": 2,
|
||||||
|
"BumpWeight": 50,
|
||||||
|
"BumpCD": 4,
|
||||||
|
"BumpFailWeight": 20,
|
||||||
|
"BumpSuccessWeight": [
|
||||||
|
20,
|
||||||
|
30,
|
||||||
|
40,
|
||||||
|
50
|
||||||
|
],
|
||||||
|
"HpBumpWeight": 100,
|
||||||
|
"HpBumpCD": 35,
|
||||||
|
"HpBumpFailWeight": 50,
|
||||||
|
"HpBumpSuccessWeight": 50,
|
||||||
|
"CatchQteWeight": 500,
|
||||||
|
"CatchQteCD": 30,
|
||||||
|
"CatchQteFailWeight": 10,
|
||||||
|
"CatchQteSuccessWeight": [
|
||||||
|
50,
|
||||||
|
40,
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"EmptyWeight": 20
|
||||||
|
}
|
||||||
|
]
|
@ -1479,7 +1479,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100105
|
1101005
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"关卡ID",
|
"关卡ID",
|
||||||
@ -2663,7 +2663,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100101
|
1101001
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"关卡ID",
|
"关卡ID",
|
||||||
@ -18257,7 +18257,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100105
|
1101005
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"关卡ID",
|
"关卡ID",
|
||||||
@ -21680,7 +21680,7 @@
|
|||||||
"NPC": 10104,
|
"NPC": 10104,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100101
|
1101001
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"关卡ID",
|
"关卡ID",
|
||||||
@ -21710,7 +21710,7 @@
|
|||||||
"NPC": 101014,
|
"NPC": 101014,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100103
|
1101003
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21735,7 +21735,7 @@
|
|||||||
"NPC": 101024,
|
"NPC": 101024,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100107
|
1101007
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21760,7 +21760,7 @@
|
|||||||
"NPC": 101034,
|
"NPC": 101034,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100110
|
1101010
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21785,7 +21785,7 @@
|
|||||||
"NPC": 101044,
|
"NPC": 101044,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100112
|
1101012
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21810,7 +21810,7 @@
|
|||||||
"NPC": 101054,
|
"NPC": 101054,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100116
|
1101016
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21835,7 +21835,7 @@
|
|||||||
"NPC": 101064,
|
"NPC": 101064,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100117
|
1101017
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21860,7 +21860,7 @@
|
|||||||
"NPC": 101074,
|
"NPC": 101074,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100119
|
1101019
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21885,7 +21885,7 @@
|
|||||||
"NPC": 101084,
|
"NPC": 101084,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100120
|
1101020
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21910,7 +21910,7 @@
|
|||||||
"NPC": 101094,
|
"NPC": 101094,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100124
|
1101024
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21935,7 +21935,7 @@
|
|||||||
"NPC": 101104,
|
"NPC": 101104,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100127
|
1101027
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21960,7 +21960,7 @@
|
|||||||
"NPC": 101114,
|
"NPC": 101114,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100129
|
1101029
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -21985,7 +21985,7 @@
|
|||||||
"NPC": 101124,
|
"NPC": 101124,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100131
|
1101031
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -22010,7 +22010,7 @@
|
|||||||
"NPC": 101134,
|
"NPC": 101134,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100132
|
1101032
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -22035,7 +22035,7 @@
|
|||||||
"NPC": 101144,
|
"NPC": 101144,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100133
|
1101033
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -22565,7 +22565,7 @@
|
|||||||
"NPC": 10254,
|
"NPC": 10254,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100224
|
1102024
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"关卡ID",
|
"关卡ID",
|
||||||
@ -22897,7 +22897,7 @@
|
|||||||
"NPC": 10364,
|
"NPC": 10364,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100312
|
1103012
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"关卡ID",
|
"关卡ID",
|
||||||
@ -23106,7 +23106,7 @@
|
|||||||
"NPC": 10334,
|
"NPC": 10334,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100413
|
1104013
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"剧情ID",
|
"剧情ID",
|
||||||
@ -29579,7 +29579,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100110
|
1101010
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -29606,7 +29606,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100120
|
1101020
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -29633,7 +29633,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100129
|
1101029
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -29660,7 +29660,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100142
|
1101042
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -29687,7 +29687,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100151
|
1101051
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -29714,7 +29714,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100159
|
1101059
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
@ -29796,7 +29796,7 @@
|
|||||||
"NPC": 0,
|
"NPC": 0,
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"filter": [
|
"filter": [
|
||||||
1100187
|
1101087
|
||||||
],
|
],
|
||||||
"filter2": []
|
"filter2": []
|
||||||
},
|
},
|
||||||
|
@ -26,5 +26,12 @@
|
|||||||
"value": 2,
|
"value": 2,
|
||||||
"energy": 5,
|
"energy": 5,
|
||||||
"matchvalue": 2
|
"matchvalue": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"num": 5,
|
||||||
|
"distance": 30,
|
||||||
|
"value": 0,
|
||||||
|
"energy": 0,
|
||||||
|
"matchvalue": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
72
bin/json/game_consumebox.json
Normal file
72
bin/json/game_consumebox.json
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"boxid": 1,
|
||||||
|
"type": 0,
|
||||||
|
"cd": 5,
|
||||||
|
"onereward": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"boxid": 2,
|
||||||
|
"type": 0,
|
||||||
|
"cd": 10,
|
||||||
|
"onereward": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"boxid": 3,
|
||||||
|
"type": 0,
|
||||||
|
"cd": 15,
|
||||||
|
"onereward": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"boxid": 4,
|
||||||
|
"type": 0,
|
||||||
|
"cd": 20,
|
||||||
|
"onereward": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"boxid": 5,
|
||||||
|
"type": 0,
|
||||||
|
"cd": 25,
|
||||||
|
"onereward": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
20
bin/json/game_consumehero.json
Normal file
20
bin/json/game_consumehero.json
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"key": 25001,
|
||||||
|
"type": 1,
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"consume": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 24006,
|
||||||
|
"type": 2,
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"consume": 1000
|
||||||
|
}
|
||||||
|
]
|
@ -858,6 +858,8 @@
|
|||||||
"challenge_npc_story": [
|
"challenge_npc_story": [
|
||||||
9999991
|
9999991
|
||||||
],
|
],
|
||||||
"quickcard_aispeed": 400
|
"quickcard_aispeed": 400,
|
||||||
|
"fastplay_interaction": 8,
|
||||||
|
"fastplay_item": "24013003"
|
||||||
}
|
}
|
||||||
]
|
]
|
405
bin/json/game_integral.json
Normal file
405
bin/json/game_integral.json
Normal file
@ -0,0 +1,405 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"key": 0,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 100,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 200,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 300,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 400,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 500,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 600,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 700,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 800,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 900,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1000,
|
||||||
|
"type": 1,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1100,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1200,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1300,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1400,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1500,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1600,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1700,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1800,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 1900,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2000,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2100,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2200,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2300,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2400,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2500,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2600,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2700,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2800,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2900,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 3000,
|
||||||
|
"type": 2,
|
||||||
|
"onereward": [],
|
||||||
|
"rewards": [],
|
||||||
|
"deductrewards": [],
|
||||||
|
"boxid": [],
|
||||||
|
"weight": [],
|
||||||
|
"name": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
@ -20216,5 +20216,51 @@
|
|||||||
},
|
},
|
||||||
"sale": [],
|
"sale": [],
|
||||||
"gm": 0
|
"gm": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "24013003",
|
||||||
|
"name": {
|
||||||
|
"key": "item_item_name_415",
|
||||||
|
"text": "扑克对决游玩次数"
|
||||||
|
},
|
||||||
|
"usetype": 1,
|
||||||
|
"color": 2,
|
||||||
|
"bagtype": 0,
|
||||||
|
"index": 1,
|
||||||
|
"special_type": 0,
|
||||||
|
"time": 0,
|
||||||
|
"reddottype": 0,
|
||||||
|
"effects": "",
|
||||||
|
"modelName": "",
|
||||||
|
"box_id": 0,
|
||||||
|
"synthetize_num": 0,
|
||||||
|
"synthetize_deplete": [],
|
||||||
|
"synthetize_get": [],
|
||||||
|
"decompose_deplete": [],
|
||||||
|
"decompose_get": [],
|
||||||
|
"access": [],
|
||||||
|
"use_skip": 0,
|
||||||
|
"upper_limit": 0,
|
||||||
|
"img": "",
|
||||||
|
"intr": {
|
||||||
|
"key": "item_item_intr_410",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"describe": {
|
||||||
|
"key": "item_item_describe_410",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"dialogue": {
|
||||||
|
"key": "item_item_dialogue_408",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"sale": [
|
||||||
|
{
|
||||||
|
"a": "attr",
|
||||||
|
"t": "gold",
|
||||||
|
"n": 1000
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gm": 1
|
||||||
}
|
}
|
||||||
]
|
]
|
50
bin/json/game_lattice.json
Normal file
50
bin/json/game_lattice.json
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"key": 1,
|
||||||
|
"belongto": 5,
|
||||||
|
"regular": 1,
|
||||||
|
"place": {
|
||||||
|
"x": 4,
|
||||||
|
"y": 4
|
||||||
|
},
|
||||||
|
"number": [],
|
||||||
|
"reserve": 1,
|
||||||
|
"icon": "",
|
||||||
|
"type": 1,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2,
|
||||||
|
"belongto": 6,
|
||||||
|
"regular": 2,
|
||||||
|
"place": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"number": [
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"reserve": 0,
|
||||||
|
"icon": "",
|
||||||
|
"type": 2,
|
||||||
|
"value": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 3,
|
||||||
|
"belongto": 7,
|
||||||
|
"regular": 2,
|
||||||
|
"place": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"number": [
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"reserve": 0,
|
||||||
|
"icon": "",
|
||||||
|
"type": 3,
|
||||||
|
"value": 9
|
||||||
|
}
|
||||||
|
]
|
File diff suppressed because it is too large
Load Diff
22
bin/json/game_playerskill.json
Normal file
22
bin/json/game_playerskill.json
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"key": 1,
|
||||||
|
"open": [],
|
||||||
|
"icon": "",
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"number": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2,
|
||||||
|
"open": [],
|
||||||
|
"icon": "",
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"number": 1
|
||||||
|
}
|
||||||
|
]
|
86
bin/json/game_playingmethod.json
Normal file
86
bin/json/game_playingmethod.json
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"key": 1,
|
||||||
|
"open": 0,
|
||||||
|
"icon": "",
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"type": 1,
|
||||||
|
"detail": 1,
|
||||||
|
"weight": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 2,
|
||||||
|
"open": 999999,
|
||||||
|
"icon": "",
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"type": 2,
|
||||||
|
"detail": 1,
|
||||||
|
"weight": 2000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 3,
|
||||||
|
"open": 999999,
|
||||||
|
"icon": "",
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"type": 2,
|
||||||
|
"detail": 1,
|
||||||
|
"weight": 2000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 4,
|
||||||
|
"open": 999999,
|
||||||
|
"icon": "",
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"type": 2,
|
||||||
|
"detail": 1,
|
||||||
|
"weight": 2000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 5,
|
||||||
|
"open": 999999,
|
||||||
|
"icon": "",
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"type": 2,
|
||||||
|
"detail": 2,
|
||||||
|
"weight": 2000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 6,
|
||||||
|
"open": 999999,
|
||||||
|
"icon": "",
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"type": 2,
|
||||||
|
"detail": 2,
|
||||||
|
"weight": 2000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": 7,
|
||||||
|
"open": 999999,
|
||||||
|
"icon": "",
|
||||||
|
"txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"type": 2,
|
||||||
|
"detail": 2,
|
||||||
|
"weight": 2000
|
||||||
|
}
|
||||||
|
]
|
@ -242,6 +242,8 @@ type (
|
|||||||
|
|
||||||
//GM接口 获取全部装备
|
//GM接口 获取全部装备
|
||||||
GMGetAllEquip(session IUserSession, ismaxlv bool) (errdata *pb.ErrorData)
|
GMGetAllEquip(session IUserSession, ismaxlv bool) (errdata *pb.ErrorData)
|
||||||
|
//创建最高名字装备
|
||||||
|
NewMaxQualityEquipment(session IUserSession, cid []string) (eruips []*pb.DB_Equipment, errdata *pb.ErrorData)
|
||||||
}
|
}
|
||||||
|
|
||||||
//任务
|
//任务
|
||||||
|
@ -186,6 +186,31 @@ func (this *modelEquipmentComp) addEquipment(equip *pb.DB_Equipment) (err error)
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
func (this *modelEquipmentComp) addEquipments(uid string, equips []*pb.DB_Equipment) (err error) {
|
||||||
|
var (
|
||||||
|
model *db.DBModel
|
||||||
|
equipsMap map[string]*pb.DB_Equipment = make(map[string]*pb.DB_Equipment)
|
||||||
|
)
|
||||||
|
for _, v := range equips {
|
||||||
|
equipsMap[v.Id] = v
|
||||||
|
}
|
||||||
|
if this.module.IsCross() {
|
||||||
|
if model, err = this.module.GetDBModelByUid(uid, this.TableName); err != nil {
|
||||||
|
this.module.Errorln(err)
|
||||||
|
} else {
|
||||||
|
if err = model.AddLists(uid, &equipsMap); err != nil {
|
||||||
|
this.module.Errorf("err:%v", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if err = model.AddLists(uid, &equipsMap); err != nil {
|
||||||
|
this.module.Errorf("err:%v", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// 删除装备
|
// 删除装备
|
||||||
func (this *modelEquipmentComp) DelEquipments(uId string, eIds []string) (change []*pb.DB_Equipment, err error) {
|
func (this *modelEquipmentComp) DelEquipments(uId string, eIds []string) (change []*pb.DB_Equipment, err error) {
|
||||||
|
@ -277,6 +277,62 @@ func (this *Equipment) AddEquipment(session comm.IUserSession, equip *pb.DB_Equi
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 创建新的装备
|
||||||
|
func (this *Equipment) addEquipments(session comm.IUserSession, equips []*pb.DB_Equipment) (errdata *pb.ErrorData) {
|
||||||
|
var (
|
||||||
|
err error
|
||||||
|
configure *cfg.GameEquipData
|
||||||
|
)
|
||||||
|
if err = this.modelEquipment.addEquipments(session.GetUserId(), equips); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
tasks := make([]*pb.BuriedParam, 0)
|
||||||
|
for _, equip := range equips {
|
||||||
|
if configure, err = this.configure.GetEquipmentConfigureById(equip.CId); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_ConfigNoFound,
|
||||||
|
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
//随机任务
|
||||||
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype50, 1, configure.Color))
|
||||||
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype97, 1, configure.Suittype, configure.Color))
|
||||||
|
unm := int32(1)
|
||||||
|
if equip.AdverbEntry != nil {
|
||||||
|
unm += int32(len(equip.AdverbEntry))
|
||||||
|
}
|
||||||
|
if equip.Adverbskill != nil {
|
||||||
|
unm += int32(len(equip.Adverbskill))
|
||||||
|
}
|
||||||
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype99, 1, unm, configure.Color))
|
||||||
|
if configure.Pos == 7 {
|
||||||
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype103, 1, configure.Color))
|
||||||
|
} else if configure.Pos == 6 {
|
||||||
|
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype101, 1, configure.Color))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if err = this.equipmentsChangePush(session, equips); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Title: pb.ErrorCode_DBError.String(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
go this.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
|
||||||
|
this.ModuleBuried.TriggerBuried(session, tasks...)
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// /出售装备
|
// /出售装备
|
||||||
func (this *Equipment) SellEquipments(session comm.IUserSession, equs []string) (errdata *pb.ErrorData, atno []*pb.UserAtno) {
|
func (this *Equipment) SellEquipments(session comm.IUserSession, equs []string) (errdata *pb.ErrorData, atno []*pb.UserAtno) {
|
||||||
var (
|
var (
|
||||||
@ -575,6 +631,30 @@ func (this *Equipment) GetForgeEquip(session comm.IUserSession, suiteId int32, p
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *Equipment) NewMaxQualityEquipment(session comm.IUserSession, cid []string) (eruips []*pb.DB_Equipment, errdata *pb.ErrorData) {
|
||||||
|
var (
|
||||||
|
conf *cfg.GameEquipData
|
||||||
|
err error
|
||||||
|
)
|
||||||
|
eruips = make([]*pb.DB_Equipment, len(cid))
|
||||||
|
for i, v := range cid {
|
||||||
|
if conf, err = this.configure.GetEquipmentConfigureById(v); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_ConfigNoFound,
|
||||||
|
Title: pb.ErrorCode_ConfigNoFound.String(),
|
||||||
|
Message: fmt.Sprintf("found id:%s", v),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if eruips[i], err = this.modelEquipment.newEquipment(session.GetUserId(), conf, nil, true); err == nil {
|
||||||
|
if errdata = this.addEquipments(session, eruips); errdata != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
GM 命令接口
|
GM 命令接口
|
||||||
获取全部装备
|
获取全部装备
|
||||||
|
@ -10,6 +10,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
game_bukashiai = "game_bukashiai.json"
|
||||||
game_buzkashiopen = "game_buzkashiopen.json"
|
game_buzkashiopen = "game_buzkashiopen.json"
|
||||||
game_buzkashigrade = "game_buzkashigrade.json"
|
game_buzkashigrade = "game_buzkashigrade.json"
|
||||||
game_buzkashilv = "game_buzkashilv.json"
|
game_buzkashilv = "game_buzkashilv.json"
|
||||||
@ -28,6 +29,7 @@ type configureComp struct {
|
|||||||
func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||||
this.MCompConfigure.Init(service, module, comp, options)
|
this.MCompConfigure.Init(service, module, comp, options)
|
||||||
this.module = module.(*Parkour)
|
this.module = module.(*Parkour)
|
||||||
|
this.LoadConfigure(game_bukashiai, cfg.NewGameBukashiAi)
|
||||||
this.LoadConfigure(game_buzkashiopen, cfg.NewGameBuzkashiOpen)
|
this.LoadConfigure(game_buzkashiopen, cfg.NewGameBuzkashiOpen)
|
||||||
this.LoadConfigure(game_buzkashigrade, cfg.NewGameBuzkashiGrade)
|
this.LoadConfigure(game_buzkashigrade, cfg.NewGameBuzkashiGrade)
|
||||||
this.LoadConfigure(game_buzkashilv, cfg.NewGameBuzkashiLv)
|
this.LoadConfigure(game_buzkashilv, cfg.NewGameBuzkashiLv)
|
||||||
|
42
sys/configure/structs/Game.Block.go
Normal file
42
sys/configure/structs/Game.Block.go
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
type GameBlock struct {
|
||||||
|
_dataMap map[int32]*GameBlockData
|
||||||
|
_dataList []*GameBlockData
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewGameBlock(_buf []map[string]interface{}) (*GameBlock, error) {
|
||||||
|
_dataList := make([]*GameBlockData, 0, len(_buf))
|
||||||
|
dataMap := make(map[int32]*GameBlockData)
|
||||||
|
for _, _ele_ := range _buf {
|
||||||
|
if _v, err2 := DeserializeGameBlockData(_ele_); err2 != nil {
|
||||||
|
return nil, err2
|
||||||
|
} else {
|
||||||
|
_dataList = append(_dataList, _v)
|
||||||
|
dataMap[_v.Key] = _v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return &GameBlock{_dataList:_dataList, _dataMap:dataMap}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameBlock) GetDataMap() map[int32]*GameBlockData {
|
||||||
|
return table._dataMap
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameBlock) GetDataList() []*GameBlockData {
|
||||||
|
return table._dataList
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameBlock) Get(key int32) *GameBlockData {
|
||||||
|
return table._dataMap[key]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
51
sys/configure/structs/Game.BlockData.go
Normal file
51
sys/configure/structs/Game.BlockData.go
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
import "errors"
|
||||||
|
|
||||||
|
type GameBlockData struct {
|
||||||
|
Key int32
|
||||||
|
Color int32
|
||||||
|
Belongto int32
|
||||||
|
Open int32
|
||||||
|
Icon string
|
||||||
|
Weight int32
|
||||||
|
Score int32
|
||||||
|
Type int32
|
||||||
|
Value int32
|
||||||
|
}
|
||||||
|
|
||||||
|
const TypeId_GameBlockData = -1717313829
|
||||||
|
|
||||||
|
func (*GameBlockData) GetTypeId() int32 {
|
||||||
|
return -1717313829
|
||||||
|
}
|
||||||
|
|
||||||
|
func (_v *GameBlockData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["color"].(float64); !_ok_ { err = errors.New("color error"); return }; _v.Color = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["belongto"].(float64); !_ok_ { err = errors.New("belongto error"); return }; _v.Belongto = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["open"].(float64); !_ok_ { err = errors.New("open error"); return }; _v.Open = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; if _v.Icon, _ok_ = _buf["icon"].(string); !_ok_ { err = errors.New("icon error"); return } }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["weight"].(float64); !_ok_ { err = errors.New("weight error"); return }; _v.Weight = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["score"].(float64); !_ok_ { err = errors.New("score error"); return }; _v.Score = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["value"].(float64); !_ok_ { err = errors.New("value error"); return }; _v.Value = int32(_tempNum_) }
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func DeserializeGameBlockData(_buf map[string]interface{}) (*GameBlockData, error) {
|
||||||
|
v := &GameBlockData{}
|
||||||
|
if err := v.Deserialize(_buf); err == nil {
|
||||||
|
return v, nil
|
||||||
|
} else {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
42
sys/configure/structs/Game.BukashiAi.go
Normal file
42
sys/configure/structs/Game.BukashiAi.go
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
type GameBukashiAi struct {
|
||||||
|
_dataMap map[int32]*GameBukashiAiData
|
||||||
|
_dataList []*GameBukashiAiData
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewGameBukashiAi(_buf []map[string]interface{}) (*GameBukashiAi, error) {
|
||||||
|
_dataList := make([]*GameBukashiAiData, 0, len(_buf))
|
||||||
|
dataMap := make(map[int32]*GameBukashiAiData)
|
||||||
|
for _, _ele_ := range _buf {
|
||||||
|
if _v, err2 := DeserializeGameBukashiAiData(_ele_); err2 != nil {
|
||||||
|
return nil, err2
|
||||||
|
} else {
|
||||||
|
_dataList = append(_dataList, _v)
|
||||||
|
dataMap[_v.Id] = _v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return &GameBukashiAi{_dataList:_dataList, _dataMap:dataMap}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameBukashiAi) GetDataMap() map[int32]*GameBukashiAiData {
|
||||||
|
return table._dataMap
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameBukashiAi) GetDataList() []*GameBukashiAiData {
|
||||||
|
return table._dataList
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameBukashiAi) Get(key int32) *GameBukashiAiData {
|
||||||
|
return table._dataMap[key]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
93
sys/configure/structs/Game.BukashiAiData.go
Normal file
93
sys/configure/structs/Game.BukashiAiData.go
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
import "errors"
|
||||||
|
|
||||||
|
type GameBukashiAiData struct {
|
||||||
|
Id int32
|
||||||
|
MatchType int32
|
||||||
|
QualifyingType int32
|
||||||
|
BehaviorCD int32
|
||||||
|
BumpWeight int32
|
||||||
|
BumpCD int32
|
||||||
|
BumpFailWeight int32
|
||||||
|
BumpSuccessWeight []int32
|
||||||
|
HpBumpWeight int32
|
||||||
|
HpBumpCD int32
|
||||||
|
HpBumpFailWeight int32
|
||||||
|
HpBumpSuccessWeight int32
|
||||||
|
CatchQteWeight int32
|
||||||
|
CatchQteCD int32
|
||||||
|
CatchQteFailWeight int32
|
||||||
|
CatchQteSuccessWeight []int32
|
||||||
|
EmptyWeight int32
|
||||||
|
}
|
||||||
|
|
||||||
|
const TypeId_GameBukashiAiData = -332024319
|
||||||
|
|
||||||
|
func (*GameBukashiAiData) GetTypeId() int32 {
|
||||||
|
return -332024319
|
||||||
|
}
|
||||||
|
|
||||||
|
func (_v *GameBukashiAiData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["MatchType"].(float64); !_ok_ { err = errors.New("MatchType error"); return }; _v.MatchType = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["QualifyingType"].(float64); !_ok_ { err = errors.New("QualifyingType error"); return }; _v.QualifyingType = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["BehaviorCD"].(float64); !_ok_ { err = errors.New("BehaviorCD error"); return }; _v.BehaviorCD = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["BumpWeight"].(float64); !_ok_ { err = errors.New("BumpWeight error"); return }; _v.BumpWeight = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["BumpCD"].(float64); !_ok_ { err = errors.New("BumpCD error"); return }; _v.BumpCD = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["BumpFailWeight"].(float64); !_ok_ { err = errors.New("BumpFailWeight error"); return }; _v.BumpFailWeight = int32(_tempNum_) }
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["BumpSuccessWeight"].([]interface{}); !_ok_ { err = errors.New("BumpSuccessWeight error"); return }
|
||||||
|
|
||||||
|
_v.BumpSuccessWeight = make([]int32, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ int32
|
||||||
|
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
|
||||||
|
_v.BumpSuccessWeight = append(_v.BumpSuccessWeight, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["HpBumpWeight"].(float64); !_ok_ { err = errors.New("HpBumpWeight error"); return }; _v.HpBumpWeight = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["HpBumpCD"].(float64); !_ok_ { err = errors.New("HpBumpCD error"); return }; _v.HpBumpCD = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["HpBumpFailWeight"].(float64); !_ok_ { err = errors.New("HpBumpFailWeight error"); return }; _v.HpBumpFailWeight = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["HpBumpSuccessWeight"].(float64); !_ok_ { err = errors.New("HpBumpSuccessWeight error"); return }; _v.HpBumpSuccessWeight = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["CatchQteWeight"].(float64); !_ok_ { err = errors.New("CatchQteWeight error"); return }; _v.CatchQteWeight = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["CatchQteCD"].(float64); !_ok_ { err = errors.New("CatchQteCD error"); return }; _v.CatchQteCD = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["CatchQteFailWeight"].(float64); !_ok_ { err = errors.New("CatchQteFailWeight error"); return }; _v.CatchQteFailWeight = int32(_tempNum_) }
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["CatchQteSuccessWeight"].([]interface{}); !_ok_ { err = errors.New("CatchQteSuccessWeight error"); return }
|
||||||
|
|
||||||
|
_v.CatchQteSuccessWeight = make([]int32, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ int32
|
||||||
|
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
|
||||||
|
_v.CatchQteSuccessWeight = append(_v.CatchQteSuccessWeight, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["EmptyWeight"].(float64); !_ok_ { err = errors.New("EmptyWeight error"); return }; _v.EmptyWeight = int32(_tempNum_) }
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func DeserializeGameBukashiAiData(_buf map[string]interface{}) (*GameBukashiAiData, error) {
|
||||||
|
v := &GameBukashiAiData{}
|
||||||
|
if err := v.Deserialize(_buf); err == nil {
|
||||||
|
return v, nil
|
||||||
|
} else {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
42
sys/configure/structs/Game.ConsumeBox.go
Normal file
42
sys/configure/structs/Game.ConsumeBox.go
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
type GameConsumeBox struct {
|
||||||
|
_dataMap map[int32]*GameConsumeBoxData
|
||||||
|
_dataList []*GameConsumeBoxData
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewGameConsumeBox(_buf []map[string]interface{}) (*GameConsumeBox, error) {
|
||||||
|
_dataList := make([]*GameConsumeBoxData, 0, len(_buf))
|
||||||
|
dataMap := make(map[int32]*GameConsumeBoxData)
|
||||||
|
for _, _ele_ := range _buf {
|
||||||
|
if _v, err2 := DeserializeGameConsumeBoxData(_ele_); err2 != nil {
|
||||||
|
return nil, err2
|
||||||
|
} else {
|
||||||
|
_dataList = append(_dataList, _v)
|
||||||
|
dataMap[_v.Boxid] = _v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return &GameConsumeBox{_dataList:_dataList, _dataMap:dataMap}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameConsumeBox) GetDataMap() map[int32]*GameConsumeBoxData {
|
||||||
|
return table._dataMap
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameConsumeBox) GetDataList() []*GameConsumeBoxData {
|
||||||
|
return table._dataList
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameConsumeBox) Get(key int32) *GameConsumeBoxData {
|
||||||
|
return table._dataMap[key]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
58
sys/configure/structs/Game.ConsumeBoxData.go
Normal file
58
sys/configure/structs/Game.ConsumeBoxData.go
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
import "errors"
|
||||||
|
|
||||||
|
type GameConsumeBoxData struct {
|
||||||
|
Boxid int32
|
||||||
|
Type int32
|
||||||
|
Cd int32
|
||||||
|
Onereward []*Gameatn
|
||||||
|
Name string
|
||||||
|
Txt string
|
||||||
|
}
|
||||||
|
|
||||||
|
const TypeId_GameConsumeBoxData = -456316427
|
||||||
|
|
||||||
|
func (*GameConsumeBoxData) GetTypeId() int32 {
|
||||||
|
return -456316427
|
||||||
|
}
|
||||||
|
|
||||||
|
func (_v *GameConsumeBoxData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["boxid"].(float64); !_ok_ { err = errors.New("boxid error"); return }; _v.Boxid = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["cd"].(float64); !_ok_ { err = errors.New("cd error"); return }; _v.Cd = int32(_tempNum_) }
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["onereward"].([]interface{}); !_ok_ { err = errors.New("onereward error"); return }
|
||||||
|
|
||||||
|
_v.Onereward = make([]*Gameatn, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ *Gameatn
|
||||||
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
_v.Onereward = append(_v.Onereward, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Name error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Name, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
||||||
|
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Txt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Txt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func DeserializeGameConsumeBoxData(_buf map[string]interface{}) (*GameConsumeBoxData, error) {
|
||||||
|
v := &GameConsumeBoxData{}
|
||||||
|
if err := v.Deserialize(_buf); err == nil {
|
||||||
|
return v, nil
|
||||||
|
} else {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
42
sys/configure/structs/Game.ConsumeHero.go
Normal file
42
sys/configure/structs/Game.ConsumeHero.go
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
type GameConsumeHero struct {
|
||||||
|
_dataMap map[int32]*GameConsumeHeroData
|
||||||
|
_dataList []*GameConsumeHeroData
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewGameConsumeHero(_buf []map[string]interface{}) (*GameConsumeHero, error) {
|
||||||
|
_dataList := make([]*GameConsumeHeroData, 0, len(_buf))
|
||||||
|
dataMap := make(map[int32]*GameConsumeHeroData)
|
||||||
|
for _, _ele_ := range _buf {
|
||||||
|
if _v, err2 := DeserializeGameConsumeHeroData(_ele_); err2 != nil {
|
||||||
|
return nil, err2
|
||||||
|
} else {
|
||||||
|
_dataList = append(_dataList, _v)
|
||||||
|
dataMap[_v.Key] = _v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return &GameConsumeHero{_dataList:_dataList, _dataMap:dataMap}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameConsumeHero) GetDataMap() map[int32]*GameConsumeHeroData {
|
||||||
|
return table._dataMap
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameConsumeHero) GetDataList() []*GameConsumeHeroData {
|
||||||
|
return table._dataList
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameConsumeHero) Get(key int32) *GameConsumeHeroData {
|
||||||
|
return table._dataMap[key]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
41
sys/configure/structs/Game.ConsumeHeroData.go
Normal file
41
sys/configure/structs/Game.ConsumeHeroData.go
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
import "errors"
|
||||||
|
|
||||||
|
type GameConsumeHeroData struct {
|
||||||
|
Key int32
|
||||||
|
Type int32
|
||||||
|
Txt string
|
||||||
|
Consume int32
|
||||||
|
}
|
||||||
|
|
||||||
|
const TypeId_GameConsumeHeroData = 187972836
|
||||||
|
|
||||||
|
func (*GameConsumeHeroData) GetTypeId() int32 {
|
||||||
|
return 187972836
|
||||||
|
}
|
||||||
|
|
||||||
|
func (_v *GameConsumeHeroData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
|
||||||
|
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Txt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Txt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["consume"].(float64); !_ok_ { err = errors.New("consume error"); return }; _v.Consume = int32(_tempNum_) }
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func DeserializeGameConsumeHeroData(_buf map[string]interface{}) (*GameConsumeHeroData, error) {
|
||||||
|
v := &GameConsumeHeroData{}
|
||||||
|
if err := v.Deserialize(_buf); err == nil {
|
||||||
|
return v, nil
|
||||||
|
} else {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
42
sys/configure/structs/Game.Integral.go
Normal file
42
sys/configure/structs/Game.Integral.go
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
type GameIntegral struct {
|
||||||
|
_dataMap map[int32]*GameIntegralData
|
||||||
|
_dataList []*GameIntegralData
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewGameIntegral(_buf []map[string]interface{}) (*GameIntegral, error) {
|
||||||
|
_dataList := make([]*GameIntegralData, 0, len(_buf))
|
||||||
|
dataMap := make(map[int32]*GameIntegralData)
|
||||||
|
for _, _ele_ := range _buf {
|
||||||
|
if _v, err2 := DeserializeGameIntegralData(_ele_); err2 != nil {
|
||||||
|
return nil, err2
|
||||||
|
} else {
|
||||||
|
_dataList = append(_dataList, _v)
|
||||||
|
dataMap[_v.Key] = _v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return &GameIntegral{_dataList:_dataList, _dataMap:dataMap}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameIntegral) GetDataMap() map[int32]*GameIntegralData {
|
||||||
|
return table._dataMap
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameIntegral) GetDataList() []*GameIntegralData {
|
||||||
|
return table._dataList
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameIntegral) Get(key int32) *GameIntegralData {
|
||||||
|
return table._dataMap[key]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
114
sys/configure/structs/Game.IntegralData.go
Normal file
114
sys/configure/structs/Game.IntegralData.go
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
import "errors"
|
||||||
|
|
||||||
|
type GameIntegralData struct {
|
||||||
|
Key int32
|
||||||
|
Type int32
|
||||||
|
Onereward []*Gameatn
|
||||||
|
Rewards []*Gameatn
|
||||||
|
Deductrewards []*Gameatn
|
||||||
|
Boxid []int32
|
||||||
|
Weight []int32
|
||||||
|
Name string
|
||||||
|
}
|
||||||
|
|
||||||
|
const TypeId_GameIntegralData = 1942319090
|
||||||
|
|
||||||
|
func (*GameIntegralData) GetTypeId() int32 {
|
||||||
|
return 1942319090
|
||||||
|
}
|
||||||
|
|
||||||
|
func (_v *GameIntegralData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["onereward"].([]interface{}); !_ok_ { err = errors.New("onereward error"); return }
|
||||||
|
|
||||||
|
_v.Onereward = make([]*Gameatn, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ *Gameatn
|
||||||
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
_v.Onereward = append(_v.Onereward, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["rewards"].([]interface{}); !_ok_ { err = errors.New("rewards error"); return }
|
||||||
|
|
||||||
|
_v.Rewards = make([]*Gameatn, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ *Gameatn
|
||||||
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
_v.Rewards = append(_v.Rewards, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["deductrewards"].([]interface{}); !_ok_ { err = errors.New("deductrewards error"); return }
|
||||||
|
|
||||||
|
_v.Deductrewards = make([]*Gameatn, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ *Gameatn
|
||||||
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
_v.Deductrewards = append(_v.Deductrewards, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["boxid"].([]interface{}); !_ok_ { err = errors.New("boxid error"); return }
|
||||||
|
|
||||||
|
_v.Boxid = make([]int32, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ int32
|
||||||
|
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
|
||||||
|
_v.Boxid = append(_v.Boxid, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["weight"].([]interface{}); !_ok_ { err = errors.New("weight error"); return }
|
||||||
|
|
||||||
|
_v.Weight = make([]int32, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ int32
|
||||||
|
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
|
||||||
|
_v.Weight = append(_v.Weight, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Name error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Name, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func DeserializeGameIntegralData(_buf map[string]interface{}) (*GameIntegralData, error) {
|
||||||
|
v := &GameIntegralData{}
|
||||||
|
if err := v.Deserialize(_buf); err == nil {
|
||||||
|
return v, nil
|
||||||
|
} else {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
42
sys/configure/structs/Game.Lattice.go
Normal file
42
sys/configure/structs/Game.Lattice.go
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
type GameLattice struct {
|
||||||
|
_dataMap map[int32]*GameLatticeData
|
||||||
|
_dataList []*GameLatticeData
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewGameLattice(_buf []map[string]interface{}) (*GameLattice, error) {
|
||||||
|
_dataList := make([]*GameLatticeData, 0, len(_buf))
|
||||||
|
dataMap := make(map[int32]*GameLatticeData)
|
||||||
|
for _, _ele_ := range _buf {
|
||||||
|
if _v, err2 := DeserializeGameLatticeData(_ele_); err2 != nil {
|
||||||
|
return nil, err2
|
||||||
|
} else {
|
||||||
|
_dataList = append(_dataList, _v)
|
||||||
|
dataMap[_v.Key] = _v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return &GameLattice{_dataList:_dataList, _dataMap:dataMap}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameLattice) GetDataMap() map[int32]*GameLatticeData {
|
||||||
|
return table._dataMap
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameLattice) GetDataList() []*GameLatticeData {
|
||||||
|
return table._dataList
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GameLattice) Get(key int32) *GameLatticeData {
|
||||||
|
return table._dataMap[key]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
71
sys/configure/structs/Game.LatticeData.go
Normal file
71
sys/configure/structs/Game.LatticeData.go
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
import "errors"
|
||||||
|
import "bright/serialization"
|
||||||
|
|
||||||
|
type GameLatticeData struct {
|
||||||
|
Key int32
|
||||||
|
Belongto int32
|
||||||
|
Regular int32
|
||||||
|
Place serialization.Vector2
|
||||||
|
Number []int32
|
||||||
|
Reserve int32
|
||||||
|
Icon string
|
||||||
|
Type int32
|
||||||
|
Value int32
|
||||||
|
}
|
||||||
|
|
||||||
|
const TypeId_GameLatticeData = -1468712828
|
||||||
|
|
||||||
|
func (*GameLatticeData) GetTypeId() int32 {
|
||||||
|
return -1468712828
|
||||||
|
}
|
||||||
|
|
||||||
|
func (_v *GameLatticeData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["belongto"].(float64); !_ok_ { err = errors.New("belongto error"); return }; _v.Belongto = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["regular"].(float64); !_ok_ { err = errors.New("regular error"); return }; _v.Regular = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _v_ map[string]interface{}; if _v_, _ok_ = _buf["place"].(map[string]interface{}); !_ok_ { err = errors.New("place error"); return }
|
||||||
|
var _x_, _y_ float32;
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _v_["x"].(float64); !_ok_ { err = errors.New("x error"); return }; _x_ = float32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _v_["y"].(float64); !_ok_ { err = errors.New("y error"); return }; _y_ = float32(_tempNum_) }
|
||||||
|
_v.Place = serialization.NewVector2(_x_, _y_)
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["number"].([]interface{}); !_ok_ { err = errors.New("number error"); return }
|
||||||
|
|
||||||
|
_v.Number = make([]int32, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ int32
|
||||||
|
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
|
||||||
|
_v.Number = append(_v.Number, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["reserve"].(float64); !_ok_ { err = errors.New("reserve error"); return }; _v.Reserve = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; if _v.Icon, _ok_ = _buf["icon"].(string); !_ok_ { err = errors.New("icon error"); return } }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["value"].(float64); !_ok_ { err = errors.New("value error"); return }; _v.Value = int32(_tempNum_) }
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func DeserializeGameLatticeData(_buf map[string]interface{}) (*GameLatticeData, error) {
|
||||||
|
v := &GameLatticeData{}
|
||||||
|
if err := v.Deserialize(_buf); err == nil {
|
||||||
|
return v, nil
|
||||||
|
} else {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
42
sys/configure/structs/Game.PlayerSkill.go
Normal file
42
sys/configure/structs/Game.PlayerSkill.go
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
type GamePlayerSkill struct {
|
||||||
|
_dataMap map[int32]*GamePlayerSkillData
|
||||||
|
_dataList []*GamePlayerSkillData
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewGamePlayerSkill(_buf []map[string]interface{}) (*GamePlayerSkill, error) {
|
||||||
|
_dataList := make([]*GamePlayerSkillData, 0, len(_buf))
|
||||||
|
dataMap := make(map[int32]*GamePlayerSkillData)
|
||||||
|
for _, _ele_ := range _buf {
|
||||||
|
if _v, err2 := DeserializeGamePlayerSkillData(_ele_); err2 != nil {
|
||||||
|
return nil, err2
|
||||||
|
} else {
|
||||||
|
_dataList = append(_dataList, _v)
|
||||||
|
dataMap[_v.Key] = _v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return &GamePlayerSkill{_dataList:_dataList, _dataMap:dataMap}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GamePlayerSkill) GetDataMap() map[int32]*GamePlayerSkillData {
|
||||||
|
return table._dataMap
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GamePlayerSkill) GetDataList() []*GamePlayerSkillData {
|
||||||
|
return table._dataList
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GamePlayerSkill) Get(key int32) *GamePlayerSkillData {
|
||||||
|
return table._dataMap[key]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
56
sys/configure/structs/Game.PlayerSkillData.go
Normal file
56
sys/configure/structs/Game.PlayerSkillData.go
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
import "errors"
|
||||||
|
|
||||||
|
type GamePlayerSkillData struct {
|
||||||
|
Key int32
|
||||||
|
Open []int32
|
||||||
|
Icon string
|
||||||
|
Txt string
|
||||||
|
Number int32
|
||||||
|
}
|
||||||
|
|
||||||
|
const TypeId_GamePlayerSkillData = 244367806
|
||||||
|
|
||||||
|
func (*GamePlayerSkillData) GetTypeId() int32 {
|
||||||
|
return 244367806
|
||||||
|
}
|
||||||
|
|
||||||
|
func (_v *GamePlayerSkillData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) }
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["open"].([]interface{}); !_ok_ { err = errors.New("open error"); return }
|
||||||
|
|
||||||
|
_v.Open = make([]int32, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ int32
|
||||||
|
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
|
||||||
|
_v.Open = append(_v.Open, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{ var _ok_ bool; if _v.Icon, _ok_ = _buf["icon"].(string); !_ok_ { err = errors.New("icon error"); return } }
|
||||||
|
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Txt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Txt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["number"].(float64); !_ok_ { err = errors.New("number error"); return }; _v.Number = int32(_tempNum_) }
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func DeserializeGamePlayerSkillData(_buf map[string]interface{}) (*GamePlayerSkillData, error) {
|
||||||
|
v := &GamePlayerSkillData{}
|
||||||
|
if err := v.Deserialize(_buf); err == nil {
|
||||||
|
return v, nil
|
||||||
|
} else {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
42
sys/configure/structs/Game.PlayingMethod.go
Normal file
42
sys/configure/structs/Game.PlayingMethod.go
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
type GamePlayingMethod struct {
|
||||||
|
_dataMap map[int32]*GamePlayingMethodData
|
||||||
|
_dataList []*GamePlayingMethodData
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewGamePlayingMethod(_buf []map[string]interface{}) (*GamePlayingMethod, error) {
|
||||||
|
_dataList := make([]*GamePlayingMethodData, 0, len(_buf))
|
||||||
|
dataMap := make(map[int32]*GamePlayingMethodData)
|
||||||
|
for _, _ele_ := range _buf {
|
||||||
|
if _v, err2 := DeserializeGamePlayingMethodData(_ele_); err2 != nil {
|
||||||
|
return nil, err2
|
||||||
|
} else {
|
||||||
|
_dataList = append(_dataList, _v)
|
||||||
|
dataMap[_v.Key] = _v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return &GamePlayingMethod{_dataList:_dataList, _dataMap:dataMap}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GamePlayingMethod) GetDataMap() map[int32]*GamePlayingMethodData {
|
||||||
|
return table._dataMap
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GamePlayingMethod) GetDataList() []*GamePlayingMethodData {
|
||||||
|
return table._dataList
|
||||||
|
}
|
||||||
|
|
||||||
|
func (table *GamePlayingMethod) Get(key int32) *GamePlayingMethodData {
|
||||||
|
return table._dataMap[key]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
47
sys/configure/structs/Game.PlayingMethodData.go
Normal file
47
sys/configure/structs/Game.PlayingMethodData.go
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
package cfg
|
||||||
|
|
||||||
|
import "errors"
|
||||||
|
|
||||||
|
type GamePlayingMethodData struct {
|
||||||
|
Key int32
|
||||||
|
Open int32
|
||||||
|
Icon string
|
||||||
|
Txt string
|
||||||
|
Type int32
|
||||||
|
Detail int32
|
||||||
|
Weight int32
|
||||||
|
}
|
||||||
|
|
||||||
|
const TypeId_GamePlayingMethodData = -1379719171
|
||||||
|
|
||||||
|
func (*GamePlayingMethodData) GetTypeId() int32 {
|
||||||
|
return -1379719171
|
||||||
|
}
|
||||||
|
|
||||||
|
func (_v *GamePlayingMethodData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["open"].(float64); !_ok_ { err = errors.New("open error"); return }; _v.Open = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; if _v.Icon, _ok_ = _buf["icon"].(string); !_ok_ { err = errors.New("icon error"); return } }
|
||||||
|
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Txt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Txt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["detail"].(float64); !_ok_ { err = errors.New("detail error"); return }; _v.Detail = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["weight"].(float64); !_ok_ { err = errors.New("weight error"); return }; _v.Weight = int32(_tempNum_) }
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func DeserializeGamePlayingMethodData(_buf map[string]interface{}) (*GamePlayingMethodData, error) {
|
||||||
|
v := &GamePlayingMethodData{}
|
||||||
|
if err := v.Deserialize(_buf); err == nil {
|
||||||
|
return v, nil
|
||||||
|
} else {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
@ -266,6 +266,14 @@ type Tables struct {
|
|||||||
AchieveGroup *GameAchieveGroup
|
AchieveGroup *GameAchieveGroup
|
||||||
AchieveTask *GameAchieveTask
|
AchieveTask *GameAchieveTask
|
||||||
GameFast *GameGameFast
|
GameFast *GameGameFast
|
||||||
|
PlayingMethod *GamePlayingMethod
|
||||||
|
Block *GameBlock
|
||||||
|
Lattice *GameLattice
|
||||||
|
Integral *GameIntegral
|
||||||
|
ConsumeHero *GameConsumeHero
|
||||||
|
PlayerSkill *GamePlayerSkill
|
||||||
|
ConsumeBox *GameConsumeBox
|
||||||
|
BukashiAi *GameBukashiAi
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewTables(loader JsonLoader) (*Tables, error) {
|
func NewTables(loader JsonLoader) (*Tables, error) {
|
||||||
@ -1803,5 +1811,53 @@ func NewTables(loader JsonLoader) (*Tables, error) {
|
|||||||
if tables.GameFast, err = NewGameGameFast(buf) ; err != nil {
|
if tables.GameFast, err = NewGameGameFast(buf) ; err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
if buf, err = loader("game_playingmethod") ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if tables.PlayingMethod, err = NewGamePlayingMethod(buf) ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if buf, err = loader("game_block") ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if tables.Block, err = NewGameBlock(buf) ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if buf, err = loader("game_lattice") ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if tables.Lattice, err = NewGameLattice(buf) ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if buf, err = loader("game_integral") ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if tables.Integral, err = NewGameIntegral(buf) ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if buf, err = loader("game_consumehero") ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if tables.ConsumeHero, err = NewGameConsumeHero(buf) ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if buf, err = loader("game_playerskill") ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if tables.PlayerSkill, err = NewGamePlayerSkill(buf) ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if buf, err = loader("game_consumebox") ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if tables.ConsumeBox, err = NewGameConsumeBox(buf) ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if buf, err = loader("game_bukashiai") ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if tables.BukashiAi, err = NewGameBukashiAi(buf) ; err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
return tables, nil
|
return tables, nil
|
||||||
}
|
}
|
||||||
|
@ -294,6 +294,8 @@ type GameGlobalData struct {
|
|||||||
DragonFuntime int32
|
DragonFuntime int32
|
||||||
ChallengeNpcStory []int32
|
ChallengeNpcStory []int32
|
||||||
QuickcardAispeed float32
|
QuickcardAispeed float32
|
||||||
|
FastplayInteraction int32
|
||||||
|
FastplayItem string
|
||||||
}
|
}
|
||||||
|
|
||||||
const TypeId_GameGlobalData = 477542761
|
const TypeId_GameGlobalData = 477542761
|
||||||
@ -1158,6 +1160,8 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["quickcard_aispeed"].(float64); !_ok_ { err = errors.New("quickcard_aispeed error"); return }; _v.QuickcardAispeed = float32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["quickcard_aispeed"].(float64); !_ok_ { err = errors.New("quickcard_aispeed error"); return }; _v.QuickcardAispeed = float32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["fastplay_interaction"].(float64); !_ok_ { err = errors.New("fastplay_interaction error"); return }; _v.FastplayInteraction = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; if _v.FastplayItem, _ok_ = _buf["fastplay_item"].(string); !_ok_ { err = errors.New("fastplay_item error"); return } }
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user