掉落配置解析

This commit is contained in:
meixiongfeng 2023-04-11 10:58:00 +08:00
parent c948f032c2
commit d706a41d13
12 changed files with 981 additions and 184 deletions

View File

@ -274,5 +274,17 @@
"key": "bubblegroup_23",
"text": "还以为一届好汉,原来只是鼠辈而已"
}
},
{
"KeyId": 24,
"GroupID": 15003,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_24",
"text": "踢馆"
}
}
]

722
bin/json/game_lottery.json Normal file
View File

@ -0,0 +1,722 @@
[
{
"id": 1,
"lotteryid": 50010001,
"description": "体力药剂",
"type": 1,
"groupwt": 1000,
"groupid": 1001,
"subtype": 1,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "132000",
"n": 1
},
"itemdes": "体力",
"itemwt": 10000,
"min": 50,
"max": 50,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 2,
"lotteryid": 50010002,
"description": "精力药剂",
"type": 1,
"groupwt": 1000,
"groupid": 1001,
"subtype": 1,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "132001",
"n": 1
},
"itemdes": "精力",
"itemwt": 10000,
"min": 10,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 3,
"lotteryid": 40001001,
"description": "随机蓝色英雄",
"type": 1,
"groupwt": 1000,
"groupid": 1001,
"subtype": 1,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "132002",
"n": 1
},
"itemdes": "凤文君",
"itemwt": 1,
"min": 1,
"max": 1,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 4,
"lotteryid": 40001001,
"description": "随机蓝色英雄",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "132003",
"n": 1
},
"itemdes": "月清",
"itemwt": 1,
"min": 1,
"max": 1,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 5,
"lotteryid": 40001001,
"description": "随机蓝色英雄",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "132004",
"n": 1
},
"itemdes": "曹漫野",
"itemwt": 1,
"min": 1,
"max": 1,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 6,
"lotteryid": 40001001,
"description": "随机蓝色英雄",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "132005",
"n": 1
},
"itemdes": "璐璐",
"itemwt": 1,
"min": 1,
"max": 1,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 7,
"lotteryid": 40001001,
"description": "随机蓝色英雄",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "132006",
"n": 1
},
"itemdes": "柳名传",
"itemwt": 1,
"min": 1,
"max": 1,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 8,
"lotteryid": 40001001,
"description": "随机蓝色英雄",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "132007",
"n": 1
},
"itemdes": "薛浅浅",
"itemwt": 1,
"min": 1,
"max": 1,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 9,
"lotteryid": 40001001,
"description": "随机蓝色英雄",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "132008",
"n": 1
},
"itemdes": "白素素",
"itemwt": 1,
"min": 1,
"max": 1,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 10,
"lotteryid": 40001001,
"description": "随机蓝色英雄",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "132009",
"n": 1
},
"itemdes": "晴紫",
"itemwt": 1,
"min": 1,
"max": 1,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 240,
"notice": 0
},
{
"id": 11,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 1,
"groupwt": 500,
"groupid": 1001,
"subtype": 1,
"groupnum": 2,
"itemid": {
"a": "item",
"t": "131001",
"n": 1
},
"itemdes": "测试道具1",
"itemwt": 50,
"min": 5,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 20,
"playerlvmax": 100,
"notice": 0
},
{
"id": 12,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "131002",
"n": 1
},
"itemdes": "测试道具2",
"itemwt": 10,
"min": 10,
"max": 10,
"VIPmin": 2,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 13,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "131003",
"n": 1
},
"itemdes": "测试道具3",
"itemwt": 10,
"min": 10,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 14,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "131004",
"n": 1
},
"itemdes": "测试道具4",
"itemwt": 20,
"min": 10,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 15,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "131005",
"n": 1
},
"itemdes": "测试道具5",
"itemwt": 10,
"min": 10,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 16,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 0,
"groupwt": 500,
"groupid": 1002,
"subtype": 1,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "50001",
"n": 1
},
"itemdes": "测试道具6",
"itemwt": 50,
"min": 5,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 17,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 0,
"groupwt": 0,
"groupid": 1002,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "50002",
"n": 1
},
"itemdes": "测试道具7",
"itemwt": 30,
"min": 10,
"max": 20,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 18,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 0,
"groupwt": 0,
"groupid": 1002,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "50003",
"n": 1
},
"itemdes": "测试道具8",
"itemwt": 10,
"min": 20,
"max": 40,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 19,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 0,
"groupwt": 0,
"groupid": 1002,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "50004",
"n": 1
},
"itemdes": "测试道具9",
"itemwt": 20,
"min": 40,
"max": 40,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 20,
"lotteryid": 50001001,
"description": "随机掉落组测试1",
"type": 0,
"groupwt": 0,
"groupid": 1002,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "50005",
"n": 1
},
"itemdes": "测试道具10",
"itemwt": 30,
"min": 40,
"max": 40,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 21,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 2,
"groupwt": 1000,
"groupid": 1001,
"subtype": 1,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "50006",
"n": 1
},
"itemdes": "测试道具11",
"itemwt": 50,
"min": 5,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 20,
"playerlvmax": 100,
"notice": 0
},
{
"id": 22,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "50007",
"n": 1
},
"itemdes": "测试道具12",
"itemwt": 10,
"min": 10,
"max": 10,
"VIPmin": 2,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 23,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "50008",
"n": 1
},
"itemdes": "测试道具13",
"itemwt": 10,
"min": 10,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 24,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "50009",
"n": 1
},
"itemdes": "测试道具14",
"itemwt": 20,
"min": 10,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 25,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 0,
"groupwt": 0,
"groupid": 1001,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "50010",
"n": 1
},
"itemdes": "测试道具15",
"itemwt": 10,
"min": 10,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 26,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 0,
"groupwt": 500,
"groupid": 1002,
"subtype": 2,
"groupnum": 5,
"itemid": {
"a": "item",
"t": "50011",
"n": 1
},
"itemdes": "测试道具16",
"itemwt": 50,
"min": 5,
"max": 10,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 27,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 0,
"groupwt": 0,
"groupid": 1002,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "50012",
"n": 1
},
"itemdes": "测试道具17",
"itemwt": 30,
"min": 10,
"max": 20,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 28,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 0,
"groupwt": 0,
"groupid": 1002,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "131003",
"n": 1
},
"itemdes": "测试道具18",
"itemwt": 10,
"min": 20,
"max": 40,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 29,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 0,
"groupwt": 0,
"groupid": 1002,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "131004",
"n": 1
},
"itemdes": "测试道具19",
"itemwt": 20,
"min": 40,
"max": 40,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 30,
"lotteryid": 50001002,
"description": "随机掉落组测试2",
"type": 0,
"groupwt": 0,
"groupid": 1002,
"subtype": 0,
"groupnum": 0,
"itemid": {
"a": "item",
"t": "131005",
"n": 1
},
"itemdes": "测试道具20",
"itemwt": 30,
"min": 40,
"max": 40,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
}
]

View File

@ -8068,7 +8068,9 @@
350
],
"FollowSK": [],
"SucFollowSK": [],
"SucFollowSK": [
215005316
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
@ -8126,6 +8128,31 @@
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 215005316,
"EmitPR": 1000,
"From": 9,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 28,
"Argu": [
390001112,
1000,
1,
2,
1200
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 215005322,
"EmitPR": 1000,
@ -8195,54 +8222,6 @@
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 915005213,
"EmitPR": 1000,
"From": 1,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 2,
"Argu": [
415005212,
1,
1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 915005214,
"EmitPR": 1000,
"From": 9,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 28,
"Argu": [
390001112,
1000,
1,
2,
1200
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 215004011,
"EmitPR": 1000,

View File

@ -2610,9 +2610,7 @@
"Target": 2,
"ChildSkill": {
"Id": [
225001341,
225001312,
225001313
66
]
},
"Desc": {
@ -5468,36 +5466,6 @@
"buffid": [],
"map": ""
},
{
"id": 115005411,
"level": 1,
"MaxLV": 1,
"UnavailablePlayTypes": [],
"Name": {
"key": "skillname_115005411",
"text": "净化烟火"
},
"ico": "jn_icon_023",
"CorrectPos": 0,
"IsMelee": 0,
"act": "Skill_2",
"Type": 1,
"CD": 5,
"Target": 0,
"ChildSkill": {
"Id": [
215005211,
915005213,
915005214
]
},
"Desc": {
"key": "skill_1150054111",
"text": "治疗时净化目标1个减益。治疗量溢出时附加2回合【护盾】护盾量为溢出治疗量的120%。"
},
"buffid": [],
"map": ""
},
{
"id": 115004011,
"level": 1,

View File

@ -483,9 +483,9 @@
},
{
"Id": 415005212,
"When": 7,
"FromCheck": "Target=3,HpproGreater=1000",
"TargetCheck": "",
"When": 17,
"FromCheck": "Target=3",
"TargetCheck": "HpproGreater=1000",
"MainSkillCheck": "",
"AfterSkillCheck": "",
"BuffCheck": "",
@ -494,7 +494,7 @@
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
"Callback": [
915005214
215005316
]
},
{

View File

@ -11,7 +11,7 @@
{
"a": "attr",
"t": "gold",
"n": 10
"n": 0
}
],
"weight": 4500

View File

@ -65,7 +65,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 5,
@ -150,7 +150,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 10,
@ -235,7 +235,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 15,
@ -320,7 +320,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 20,
@ -490,7 +490,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 30,
@ -575,7 +575,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 35,
@ -660,7 +660,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 40,
@ -745,7 +745,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 45,
@ -915,7 +915,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 55,
@ -1000,7 +1000,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 60,
@ -1085,7 +1085,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 65,
@ -1170,7 +1170,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 70,
@ -1340,7 +1340,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 80,
@ -1425,7 +1425,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 85,
@ -1510,7 +1510,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 90,
@ -1595,7 +1595,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 95,
@ -1765,7 +1765,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 105,
@ -1850,7 +1850,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 110,
@ -1935,7 +1935,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 115,
@ -2020,7 +2020,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 120,
@ -2105,7 +2105,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 125,
@ -2190,7 +2190,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 130,
@ -2275,7 +2275,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 135,
@ -2360,7 +2360,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 140,
@ -2445,7 +2445,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 145,
@ -2615,7 +2615,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 155,
@ -2700,7 +2700,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 160,
@ -2785,7 +2785,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 165,
@ -2870,7 +2870,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 170,
@ -3040,7 +3040,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 180,
@ -3125,7 +3125,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 185,
@ -3210,7 +3210,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 190,
@ -3295,7 +3295,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 195,
@ -3465,7 +3465,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 205,
@ -3550,7 +3550,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 210,
@ -3635,7 +3635,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 215,
@ -3720,7 +3720,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 220,
@ -3890,7 +3890,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 230,
@ -3975,7 +3975,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 235,
@ -4060,7 +4060,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 240,
@ -4145,7 +4145,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 245,
@ -4230,7 +4230,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 250,
@ -4315,7 +4315,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 255,
@ -4400,7 +4400,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 260,
@ -4485,7 +4485,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 265,
@ -4570,7 +4570,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 270,
@ -4740,7 +4740,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 280,
@ -4825,7 +4825,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 285,
@ -4910,7 +4910,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 290,
@ -4995,7 +4995,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 295,
@ -5165,7 +5165,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 305,
@ -5250,7 +5250,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 310,
@ -5335,7 +5335,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 315,
@ -5420,7 +5420,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 320,
@ -5590,7 +5590,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 330,
@ -5675,7 +5675,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 335,
@ -5760,7 +5760,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 340,
@ -5845,7 +5845,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 345,
@ -6015,7 +6015,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 355,
@ -6100,7 +6100,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 360,
@ -6185,7 +6185,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 365,
@ -6270,7 +6270,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 370,
@ -6355,7 +6355,7 @@
},
"type": 2,
"value1": 120001,
"value2": 0
"value2": -1
},
{
"id": 375,

View File

@ -33,9 +33,7 @@
"n": 100
}
],
"module": [
"practice"
]
"module": []
},
{
"key": 20020,
@ -71,9 +69,7 @@
"n": 101
}
],
"module": [
"practice"
]
"module": []
},
{
"key": 20030,
@ -697,7 +693,7 @@
"des": 1,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Daily_tasks1",
"text": "1"
},
"task_name": {
@ -705,7 +701,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Daily_tasks1",
"text": "1"
},
"npc": 10010,
@ -733,7 +729,7 @@
"des": 1,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Daily_tasks2",
"text": "1"
},
"task_name": {
@ -741,7 +737,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Daily_tasks2",
"text": "1"
},
"npc": 10010,
@ -769,7 +765,7 @@
"des": 1,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Daily_tasks3",
"text": "1"
},
"task_name": {
@ -777,7 +773,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Daily_tasks3",
"text": "1"
},
"npc": 10010,
@ -805,7 +801,7 @@
"des": 1,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Daily_tasks4",
"text": "1"
},
"task_name": {
@ -813,7 +809,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Daily_tasks4",
"text": "1"
},
"npc": 10010,
@ -841,7 +837,7 @@
"des": 1,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Daily_tasks5",
"text": "1"
},
"task_name": {
@ -849,7 +845,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Daily_tasks5",
"text": "1"
},
"npc": 10010,
@ -877,7 +873,7 @@
"des": 1,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Daily_tasks6",
"text": "1"
},
"task_name": {
@ -885,7 +881,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Daily_tasks6",
"text": "1"
},
"npc": 10010,
@ -913,7 +909,7 @@
"des": 1,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Daily_tasks7",
"text": "1"
},
"task_name": {
@ -921,7 +917,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Daily_tasks7",
"text": "1"
},
"npc": 10010,
@ -949,7 +945,7 @@
"des": 4,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Weekly_Tasks1",
"text": "1"
},
"task_name": {
@ -957,7 +953,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Weekly_Tasks1",
"text": "1"
},
"npc": 10040,
@ -985,7 +981,7 @@
"des": 4,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Weekly_Tasks2",
"text": "1"
},
"task_name": {
@ -993,7 +989,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Weekly_Tasks2",
"text": "1"
},
"npc": 10040,
@ -1021,7 +1017,7 @@
"des": 4,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Weekly_Tasks3",
"text": "1"
},
"task_name": {
@ -1029,7 +1025,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Weekly_Tasks3",
"text": "1"
},
"npc": 10040,
@ -1057,7 +1053,7 @@
"des": 4,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Weekly_Tasks4",
"text": "1"
},
"task_name": {
@ -1065,7 +1061,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Weekly_Tasks4",
"text": "1"
},
"npc": 10040,
@ -1093,7 +1089,7 @@
"des": 4,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Weekly_Tasks5",
"text": "1"
},
"task_name": {
@ -1101,7 +1097,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Weekly_Tasks5",
"text": "1"
},
"npc": 10040,
@ -1129,7 +1125,7 @@
"des": 4,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Weekly_Tasks6",
"text": "1"
},
"task_name": {
@ -1137,7 +1133,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Weekly_Tasks6",
"text": "1"
},
"npc": 10040,
@ -1165,7 +1161,7 @@
"des": 4,
"icon": "",
"task_Tname": {
"key": "story_80",
"key": "Weekly_Tasks7",
"text": "1"
},
"task_name": {
@ -1173,7 +1169,7 @@
"text": "1"
},
"task_display": {
"key": "story_80",
"key": "Weekly_Tasks7",
"text": "1"
},
"npc": 10040,

View 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 GameLottery struct {
_dataMap map[int32]*GameLotteryData
_dataList []*GameLotteryData
}
func NewGameLottery(_buf []map[string]interface{}) (*GameLottery, error) {
_dataList := make([]*GameLotteryData, 0, len(_buf))
dataMap := make(map[int32]*GameLotteryData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameLotteryData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameLottery{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameLottery) GetDataMap() map[int32]*GameLotteryData {
return table._dataMap
}
func (table *GameLottery) GetDataList() []*GameLotteryData {
return table._dataList
}
func (table *GameLottery) Get(key int32) *GameLotteryData {
return table._dataMap[key]
}

View File

@ -0,0 +1,69 @@
//------------------------------------------------------------------------------
// <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 GameLotteryData struct {
Id int32
Lotteryid int32
Description string
Type int32
Groupwt int32
Groupid int32
Subtype int32
Groupnum int32
Itemid *Gameatn
Itemdes string
Itemwt int32
Min int32
Max int32
VIPmin int32
VIPmax int32
Playerlvmin int32
Playerlvmax int32
Notice int32
}
const TypeId_GameLotteryData = 1267925655
func (*GameLotteryData) GetTypeId() int32 {
return 1267925655
}
func (_v *GameLotteryData)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["lotteryid"].(float64); !_ok_ { err = errors.New("lotteryid error"); return }; _v.Lotteryid = int32(_tempNum_) }
{ var _ok_ bool; if _v.Description, _ok_ = _buf["description"].(string); !_ok_ { err = errors.New("description 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["groupwt"].(float64); !_ok_ { err = errors.New("groupwt error"); return }; _v.Groupwt = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["groupid"].(float64); !_ok_ { err = errors.New("groupid error"); return }; _v.Groupid = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["subtype"].(float64); !_ok_ { err = errors.New("subtype error"); return }; _v.Subtype = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["groupnum"].(float64); !_ok_ { err = errors.New("groupnum error"); return }; _v.Groupnum = int32(_tempNum_) }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["itemid"].(map[string]interface{}); !_ok_ { err = errors.New("itemid error"); return }; if _v.Itemid, err = DeserializeGameatn(_x_); err != nil { return } }
{ var _ok_ bool; if _v.Itemdes, _ok_ = _buf["itemdes"].(string); !_ok_ { err = errors.New("itemdes error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["itemwt"].(float64); !_ok_ { err = errors.New("itemwt error"); return }; _v.Itemwt = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["min"].(float64); !_ok_ { err = errors.New("min error"); return }; _v.Min = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["max"].(float64); !_ok_ { err = errors.New("max error"); return }; _v.Max = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["VIPmin"].(float64); !_ok_ { err = errors.New("VIPmin error"); return }; _v.VIPmin = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["VIPmax"].(float64); !_ok_ { err = errors.New("VIPmax error"); return }; _v.VIPmax = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["playerlvmin"].(float64); !_ok_ { err = errors.New("playerlvmin error"); return }; _v.Playerlvmin = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["playerlvmax"].(float64); !_ok_ { err = errors.New("playerlvmax error"); return }; _v.Playerlvmax = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["notice"].(float64); !_ok_ { err = errors.New("notice error"); return }; _v.Notice = int32(_tempNum_) }
return
}
func DeserializeGameLotteryData(_buf map[string]interface{}) (*GameLotteryData, error) {
v := &GameLotteryData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -15,6 +15,7 @@ type GameMonsterFormatData struct {
Pos int32
CaptainId int32
IsBoss int32
BossHpCnt int32
Monster int32
Lv int32
Hppro float32
@ -34,6 +35,7 @@ func (_v *GameMonsterFormatData)Deserialize(_buf map[string]interface{}) (err er
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pos"].(float64); !_ok_ { err = errors.New("pos error"); return }; _v.Pos = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["captainId"].(float64); !_ok_ { err = errors.New("captainId error"); return }; _v.CaptainId = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["IsBoss"].(float64); !_ok_ { err = errors.New("IsBoss error"); return }; _v.IsBoss = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["bossHpCnt"].(float64); !_ok_ { err = errors.New("bossHpCnt error"); return }; _v.BossHpCnt = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["monster"].(float64); !_ok_ { err = errors.New("monster error"); return }; _v.Monster = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lv"].(float64); !_ok_ { err = errors.New("lv error"); return }; _v.Lv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hppro"].(float64); !_ok_ { err = errors.New("hppro error"); return }; _v.Hppro = float32(_tempNum_) }

View File

@ -180,6 +180,7 @@ type Tables struct {
BreakingbadTag *GameBreakingbadTag
Potions *GamePotions
SellCoefficient *GameSellCoefficient
Lottery *GameLottery
}
func NewTables(loader JsonLoader) (*Tables, error) {
@ -1201,5 +1202,11 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.SellCoefficient, err = NewGameSellCoefficient(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_lottery") ; err != nil {
return nil, err
}
if tables.Lottery, err = NewGameLottery(buf) ; err != nil {
return nil, err
}
return tables, nil
}