好感度解析

This commit is contained in:
meixiongfeng 2023-04-18 16:04:28 +08:00
parent b05316b3c3
commit 3553d4c309
24 changed files with 6567 additions and 443 deletions

222
bin/json/game_camplv.json Normal file
View File

@ -0,0 +1,222 @@
[
{
"id": 1,
"reputation_lv": 1,
"raceType": 1,
"reputation_exp": 20,
"Reward": {
"a": "attr",
"t": "zy",
"n": 1
}
},
{
"id": 2,
"reputation_lv": 2,
"raceType": 1,
"reputation_exp": 30,
"Reward": {
"a": "attr",
"t": "zy",
"n": 2
}
},
{
"id": 3,
"reputation_lv": 3,
"raceType": 1,
"reputation_exp": 40,
"Reward": {
"a": "attr",
"t": "zy",
"n": 3
}
},
{
"id": 4,
"reputation_lv": 4,
"raceType": 1,
"reputation_exp": 50,
"Reward": {
"a": "attr",
"t": "zy",
"n": 4
}
},
{
"id": 5,
"reputation_lv": 5,
"raceType": 1,
"reputation_exp": 60,
"Reward": {
"a": "attr",
"t": "zy",
"n": 5
}
},
{
"id": 6,
"reputation_lv": 6,
"raceType": 1,
"reputation_exp": 70,
"Reward": {
"a": "attr",
"t": "zy",
"n": 6
}
},
{
"id": 7,
"reputation_lv": 7,
"raceType": 1,
"reputation_exp": 80,
"Reward": {
"a": "attr",
"t": "zy",
"n": 7
}
},
{
"id": 8,
"reputation_lv": 1,
"raceType": 2,
"reputation_exp": 10,
"Reward": {
"a": "attr",
"t": "zy",
"n": 8
}
},
{
"id": 9,
"reputation_lv": 2,
"raceType": 2,
"reputation_exp": 20,
"Reward": {
"a": "attr",
"t": "zy",
"n": 9
}
},
{
"id": 10,
"reputation_lv": 3,
"raceType": 2,
"reputation_exp": 30,
"Reward": {
"a": "attr",
"t": "zy",
"n": 10
}
},
{
"id": 11,
"reputation_lv": 4,
"raceType": 2,
"reputation_exp": 40,
"Reward": {
"a": "attr",
"t": "zy",
"n": 11
}
},
{
"id": 12,
"reputation_lv": 5,
"raceType": 2,
"reputation_exp": 50,
"Reward": {
"a": "attr",
"t": "zy",
"n": 12
}
},
{
"id": 13,
"reputation_lv": 6,
"raceType": 2,
"reputation_exp": 60,
"Reward": {
"a": "attr",
"t": "zy",
"n": 13
}
},
{
"id": 14,
"reputation_lv": 7,
"raceType": 2,
"reputation_exp": 70,
"Reward": {
"a": "attr",
"t": "zy",
"n": 14
}
},
{
"id": 15,
"reputation_lv": 8,
"raceType": 2,
"reputation_exp": 80,
"Reward": {
"a": "attr",
"t": "zy",
"n": 15
}
},
{
"id": 16,
"reputation_lv": 9,
"raceType": 2,
"reputation_exp": 90,
"Reward": {
"a": "attr",
"t": "zy",
"n": 16
}
},
{
"id": 17,
"reputation_lv": 10,
"raceType": 2,
"reputation_exp": 100,
"Reward": {
"a": "attr",
"t": "zy",
"n": 17
}
},
{
"id": 18,
"reputation_lv": 11,
"raceType": 2,
"reputation_exp": 110,
"Reward": {
"a": "attr",
"t": "zy",
"n": 18
}
},
{
"id": 19,
"reputation_lv": 12,
"raceType": 2,
"reputation_exp": 120,
"Reward": {
"a": "attr",
"t": "zy",
"n": 19
}
},
{
"id": 20,
"reputation_lv": 20,
"raceType": 2,
"reputation_exp": 130,
"Reward": {
"a": "attr",
"t": "zy",
"n": 20
}
}
]

File diff suppressed because it is too large Load Diff

407
bin/json/game_friends.json Normal file
View File

@ -0,0 +1,407 @@
[
{
"id": 1,
"friend_id": 40001,
"type": 1,
"type_name": {
"key": "favorability_friends_type_name_1",
"text": "传承"
},
"friend_name": {
"key": "favorability_friends_friend_name_40001",
"text": "师徒二人"
},
"png": "jiban_img_zu02",
"friends_lv": 1,
"favorability_lv": 1,
"hid": 25001,
"attribute": [
{
"a": "atkpro",
"n": 1
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_250011",
"text": "攻击力+{0}"
}
},
{
"id": 2,
"friend_id": 40001,
"type": 1,
"type_name": {
"key": "favorability_friends_name_1",
"text": "传承"
},
"friend_name": {
"key": "favorability_friends_friend_name_40001",
"text": "师徒二人"
},
"png": "jiban_img_zu02",
"friends_lv": 1,
"favorability_lv": 1,
"hid": 35001,
"attribute": [
{
"a": "atk",
"n": 10
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_350011",
"text": "攻击力+{0}"
}
},
{
"id": 3,
"friend_id": 40001,
"type": 1,
"type_name": {
"key": "favorability_friends_name_1",
"text": "传承"
},
"friend_name": {
"key": "favorability_friends_friend_name_40001",
"text": "师徒二人"
},
"png": "jiban_img_zu02",
"friends_lv": 2,
"favorability_lv": 9,
"hid": 25001,
"attribute": [
{
"a": "atkpro",
"n": 2
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_250012",
"text": "攻击力+{0}"
}
},
{
"id": 4,
"friend_id": 40001,
"type": 1,
"type_name": {
"key": "favorability_friends_name_1",
"text": "传承"
},
"friend_name": {
"key": "favorability_friends_friend_name_40001",
"text": "师徒二人"
},
"png": "jiban_img_zu02",
"friends_lv": 2,
"favorability_lv": 9,
"hid": 35001,
"attribute": [
{
"a": "atk",
"n": 20
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_350012",
"text": "攻击力+{0}"
}
},
{
"id": 5,
"friend_id": 40001,
"type": 1,
"type_name": {
"key": "favorability_friends_name_1",
"text": "传承"
},
"friend_name": {
"key": "favorability_friends_friend_name_40001",
"text": "师徒二人"
},
"png": "jiban_img_zu02",
"friends_lv": 3,
"favorability_lv": 15,
"hid": 25001,
"attribute": [
{
"a": "atkpro",
"n": 3
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_250013",
"text": "攻击力+{0}"
}
},
{
"id": 6,
"friend_id": 40001,
"type": 1,
"type_name": {
"key": "favorability_friends_name_1",
"text": "传承"
},
"friend_name": {
"key": "favorability_friends_friend_name_40001",
"text": "师徒二人"
},
"png": "jiban_img_zu02",
"friends_lv": 3,
"favorability_lv": 15,
"hid": 35001,
"attribute": [
{
"a": "atk",
"n": 30
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_350013",
"text": "攻击力+{0}"
}
},
{
"id": 7,
"friend_id": 102,
"type": 2,
"type_name": {
"key": "favorability_friends_name_2",
"text": "友谊"
},
"friend_name": {
"key": "favorability_friends_friend_name_102",
"text": "师徒三人"
},
"png": "jiban_img_zu02",
"friends_lv": 1,
"favorability_lv": 1,
"hid": 25001,
"attribute": [
{
"a": "atkpro",
"n": 1
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_250011",
"text": "攻击力+{0}"
}
},
{
"id": 8,
"friend_id": 102,
"type": 2,
"type_name": {
"key": "favorability_friends_name_2",
"text": "友谊"
},
"friend_name": {
"key": "favorability_friends_friend_name_102",
"text": "师徒三人"
},
"png": "jiban_img_zu02",
"friends_lv": 1,
"favorability_lv": 1,
"hid": 35001,
"attribute": [
{
"a": "atk",
"n": 10
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_350011",
"text": "攻击力+{0}"
}
},
{
"id": 9,
"friend_id": 102,
"type": 2,
"type_name": {
"key": "favorability_friends_name_2",
"text": "友谊"
},
"friend_name": {
"key": "favorability_friends_friend_name_102",
"text": "师徒三人"
},
"png": "jiban_img_zu02",
"friends_lv": 1,
"favorability_lv": 1,
"hid": 15004,
"attribute": [
{
"a": "HP",
"n": 100
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_150041",
"text": "生命值+{0}"
}
},
{
"id": 10,
"friend_id": 102,
"type": 2,
"type_name": {
"key": "favorability_friends_name_2",
"text": "友谊"
},
"friend_name": {
"key": "favorability_friends_friend_name_102",
"text": "师徒三人"
},
"png": "jiban_img_zu02",
"friends_lv": 2,
"favorability_lv": 9,
"hid": 25001,
"attribute": [
{
"a": "atkpro",
"n": 1
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_250012",
"text": "攻击力+{0}"
}
},
{
"id": 11,
"friend_id": 102,
"type": 2,
"type_name": {
"key": "favorability_friends_name_2",
"text": "友谊"
},
"friend_name": {
"key": "favorability_friends_friend_name_102",
"text": "师徒三人"
},
"png": "jiban_img_zu02",
"friends_lv": 2,
"favorability_lv": 9,
"hid": 35001,
"attribute": [
{
"a": "atk",
"n": 10
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_350012",
"text": "攻击力+{0}"
}
},
{
"id": 12,
"friend_id": 102,
"type": 2,
"type_name": {
"key": "favorability_friends_name_2",
"text": "友谊"
},
"friend_name": {
"key": "favorability_friends_friend_name_102",
"text": "师徒三人"
},
"png": "jiban_img_zu02",
"friends_lv": 2,
"favorability_lv": 9,
"hid": 15004,
"attribute": [
{
"a": "HP",
"n": 100
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_150042",
"text": "生命值+{0}"
}
},
{
"id": 13,
"friend_id": 102,
"type": 2,
"type_name": {
"key": "favorability_friends_name_2",
"text": "友谊"
},
"friend_name": {
"key": "favorability_friends_friend_name_102",
"text": "师徒三人"
},
"png": "jiban_img_zu02",
"friends_lv": 3,
"favorability_lv": 15,
"hid": 25001,
"attribute": [
{
"a": "atkpro",
"n": 1
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_250013",
"text": "攻击力+{0}"
}
},
{
"id": 14,
"friend_id": 102,
"type": 2,
"type_name": {
"key": "favorability_friends_name_2",
"text": "友谊"
},
"friend_name": {
"key": "favorability_friends_friend_name_102",
"text": "师徒三人"
},
"png": "jiban_img_zu02",
"friends_lv": 3,
"favorability_lv": 15,
"hid": 35001,
"attribute": [
{
"a": "atk",
"n": 10
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_350013",
"text": "攻击力+{0}"
}
},
{
"id": 15,
"friend_id": 102,
"type": 2,
"type_name": {
"key": "favorability_friends_name_2",
"text": "友谊"
},
"friend_name": {
"key": "favorability_friends_friend_name_102",
"text": "师徒三人"
},
"png": "jiban_img_zu02",
"friends_lv": 3,
"favorability_lv": 15,
"hid": 15004,
"attribute": [
{
"a": "HP",
"n": 100
}
],
"attribute_txt": {
"key": "favorability_friends_friend_name_150043",
"text": "生命值+{0}"
}
}
]

View File

@ -1888,9 +1888,9 @@
"box_id": 0, "box_id": 0,
"synthetize_num": 0, "synthetize_num": 0,
"access": [ "access": [
123 1001
], ],
"use_skip": 139, "use_skip": 1001,
"upper_limit": -1, "upper_limit": -1,
"img": "tj_icon_flower", "img": "tj_icon_flower",
"intr": { "intr": {
@ -1918,9 +1918,9 @@
"box_id": 0, "box_id": 0,
"synthetize_num": 0, "synthetize_num": 0,
"access": [ "access": [
123 1001
], ],
"use_skip": 139, "use_skip": 1001,
"upper_limit": -1, "upper_limit": -1,
"img": "tj_icon_yshy", "img": "tj_icon_yshy",
"intr": { "intr": {
@ -1948,9 +1948,9 @@
"box_id": 0, "box_id": 0,
"synthetize_num": 0, "synthetize_num": 0,
"access": [ "access": [
123 1001
], ],
"use_skip": 139, "use_skip": 1001,
"upper_limit": -1, "upper_limit": -1,
"img": "tj_icon_ttry", "img": "tj_icon_ttry",
"intr": { "intr": {
@ -1978,9 +1978,9 @@
"box_id": 0, "box_id": 0,
"synthetize_num": 0, "synthetize_num": 0,
"access": [ "access": [
123 1001
], ],
"use_skip": 139, "use_skip": 1001,
"upper_limit": -1, "upper_limit": -1,
"img": "tj_icon_hmkz", "img": "tj_icon_hmkz",
"intr": { "intr": {
@ -2008,9 +2008,9 @@
"box_id": 0, "box_id": 0,
"synthetize_num": 0, "synthetize_num": 0,
"access": [ "access": [
123 1001
], ],
"use_skip": 139, "use_skip": 1001,
"upper_limit": -1, "upper_limit": -1,
"img": "tj_icon_ljym", "img": "tj_icon_ljym",
"intr": { "intr": {
@ -2038,9 +2038,9 @@
"box_id": 0, "box_id": 0,
"synthetize_num": 0, "synthetize_num": 0,
"access": [ "access": [
123 1001
], ],
"use_skip": 139, "use_skip": 1001,
"upper_limit": -1, "upper_limit": -1,
"img": "tj_icon_emtm", "img": "tj_icon_emtm",
"intr": { "intr": {
@ -2068,9 +2068,9 @@
"box_id": 0, "box_id": 0,
"synthetize_num": 0, "synthetize_num": 0,
"access": [ "access": [
123 1001
], ],
"use_skip": 139, "use_skip": 1001,
"upper_limit": -1, "upper_limit": -1,
"img": "tj_icon_cjbs", "img": "tj_icon_cjbs",
"intr": { "intr": {
@ -2098,9 +2098,9 @@
"box_id": 0, "box_id": 0,
"synthetize_num": 0, "synthetize_num": 0,
"access": [ "access": [
123 1001
], ],
"use_skip": 139, "use_skip": 1001,
"upper_limit": -1, "upper_limit": -1,
"img": "tj_icon_zjbs", "img": "tj_icon_zjbs",
"intr": { "intr": {
@ -2128,9 +2128,9 @@
"box_id": 0, "box_id": 0,
"synthetize_num": 0, "synthetize_num": 0,
"access": [ "access": [
123 1001
], ],
"use_skip": 139, "use_skip": 1001,
"upper_limit": -1, "upper_limit": -1,
"img": "tj_icon_gjbs", "img": "tj_icon_gjbs",
"intr": { "intr": {

View File

@ -17,7 +17,7 @@
"text": "作为教习,食人鱼一直秉承着严厉的教习态度,在他手下训练的英雄可以获得巨大提升" "text": "作为教习,食人鱼一直秉承着严厉的教习态度,在他手下训练的英雄可以获得巨大提升"
}, },
"description": { "description": {
"key": "wuguanshirenyu10001", "key": "xiaoguo_6",
"text": "提升每分钟的经验值获取{0}%" "text": "提升每分钟的经验值获取{0}%"
}, },
"duration": 0, "duration": 0,
@ -45,7 +45,7 @@
"text": "闪闪" "text": "闪闪"
}, },
"description": { "description": {
"key": "wuguanshirenyu10002", "key": "xiaoguo_7",
"text": "提升每分钟的经验值获取{0}%" "text": "提升每分钟的经验值获取{0}%"
}, },
"duration": 0, "duration": 0,
@ -73,7 +73,7 @@
"text": "蛇先生" "text": "蛇先生"
}, },
"description": { "description": {
"key": "wuguanshirenyu10003", "key": "xiaoguo_8",
"text": "提升每分钟的经验值获取{0}%" "text": "提升每分钟的经验值获取{0}%"
}, },
"duration": 0, "duration": 0,
@ -101,7 +101,7 @@
"text": "金猴" "text": "金猴"
}, },
"description": { "description": {
"key": "wuguanshirenyu10004", "key": "xiaoguo_9",
"text": "提升每分钟的经验值获取{0}%,提升低级觉醒材料的获取数量{0}" "text": "提升每分钟的经验值获取{0}%,提升低级觉醒材料的获取数量{0}"
}, },
"duration": 0, "duration": 0,
@ -140,7 +140,7 @@
"text": "鹤大师" "text": "鹤大师"
}, },
"description": { "description": {
"key": "wuguanshirenyu10005", "key": "xiaoguo_10",
"text": "提升可挂机的时间{0}秒" "text": "提升可挂机的时间{0}秒"
}, },
"duration": 1, "duration": 1,
@ -168,7 +168,7 @@
"text": "悍娇虎" "text": "悍娇虎"
}, },
"description": { "description": {
"key": "wuguanshirenyu10006", "key": "xiaoguo_11",
"text": "提升可挂机的时间{0}秒" "text": "提升可挂机的时间{0}秒"
}, },
"duration": 1, "duration": 1,
@ -196,7 +196,7 @@
"text": "盖" "text": "盖"
}, },
"description": { "description": {
"key": "wuguanshirenyu10007", "key": "xiaoguo_12",
"text": "提升可挂机的时间{0}秒" "text": "提升可挂机的时间{0}秒"
}, },
"duration": 1, "duration": 1,
@ -224,7 +224,7 @@
"text": "希卡普" "text": "希卡普"
}, },
"description": { "description": {
"key": "wuguanshirenyu10008", "key": "xiaoguo_13",
"text": "提升可挂机的时间{0}秒,提升每分钟的经验值获取{0}%" "text": "提升可挂机的时间{0}秒,提升每分钟的经验值获取{0}%"
}, },
"duration": 1, "duration": 1,
@ -252,7 +252,7 @@
"text": "穿靴猫" "text": "穿靴猫"
}, },
"description": { "description": {
"key": "wuguanshirenyu10009", "key": "xiaoguo_14",
"text": "提升低级觉醒材料的获取数量{0}" "text": "提升低级觉醒材料的获取数量{0}"
}, },
"duration": 0, "duration": 0,
@ -291,7 +291,7 @@
"text": "师父" "text": "师父"
}, },
"description": { "description": {
"key": "wuguanshirenyu10010", "key": "xiaoguo_15",
"text": "提升低级觉醒材料的获取数量{0}" "text": "提升低级觉醒材料的获取数量{0}"
}, },
"duration": 0, "duration": 0,
@ -330,7 +330,7 @@
"text": "阿宝" "text": "阿宝"
}, },
"description": { "description": {
"key": "wuguanshirenyu10011", "key": "xiaoguo_16",
"text": "{0}%概率获得1个3级升星精灵" "text": "{0}%概率获得1个3级升星精灵"
}, },
"duration": 0, "duration": 0,
@ -369,7 +369,7 @@
"text": "乌龟大师" "text": "乌龟大师"
}, },
"description": { "description": {
"key": "wuguanshirenyu10012", "key": "xiaoguo_17",
"text": "{0}%概率获得1个3级升星精灵" "text": "{0}%概率获得1个3级升星精灵"
}, },
"duration": 0, "duration": 0,
@ -408,7 +408,7 @@
"text": "石锁,传闻是师父在训练阿宝时经常使用到的道具" "text": "石锁,传闻是师父在训练阿宝时经常使用到的道具"
}, },
"description": { "description": {
"key": "wuguanshirenyu20001", "key": "xiaoguo_18",
"text": "提升每分钟的经验值获取{0}%,提升低级觉醒材料的获取数量{0}" "text": "提升每分钟的经验值获取{0}%,提升低级觉醒材料的获取数量{0}"
}, },
"duration": 0, "duration": 0,
@ -447,7 +447,7 @@
"text": "双头空竹" "text": "双头空竹"
}, },
"description": { "description": {
"key": "wuguanshirenyu20002", "key": "xiaoguo_19",
"text": "提升每分钟的经验值获取{0}%" "text": "提升每分钟的经验值获取{0}%"
}, },
"duration": 0, "duration": 0,
@ -475,7 +475,7 @@
"text": "木爬架" "text": "木爬架"
}, },
"description": { "description": {
"key": "wuguanshirenyu20003", "key": "xiaoguo_20",
"text": "提升每分钟的经验值获取{0}%" "text": "提升每分钟的经验值获取{0}%"
}, },
"duration": 0, "duration": 0,
@ -503,7 +503,7 @@
"text": "不倒翁" "text": "不倒翁"
}, },
"description": { "description": {
"key": "wuguanshirenyu20004", "key": "xiaoguo_21",
"text": "提升每分钟的经验值获取{0}%" "text": "提升每分钟的经验值获取{0}%"
}, },
"duration": 0, "duration": 0,
@ -531,7 +531,7 @@
"text": "棒槌" "text": "棒槌"
}, },
"description": { "description": {
"key": "wuguanshirenyu20005", "key": "xiaoguo_22",
"text": "提升可挂机的时间{0}秒" "text": "提升可挂机的时间{0}秒"
}, },
"duration": 1, "duration": 1,
@ -559,7 +559,7 @@
"text": "铜铃" "text": "铜铃"
}, },
"description": { "description": {
"key": "wuguanshirenyu20006", "key": "xiaoguo_23",
"text": "提升可挂机的时间{0}秒" "text": "提升可挂机的时间{0}秒"
}, },
"duration": 1, "duration": 1,
@ -587,7 +587,7 @@
"text": "尖刺吊环" "text": "尖刺吊环"
}, },
"description": { "description": {
"key": "wuguanshirenyu20007", "key": "xiaoguo_24",
"text": "提升可挂机的时间{0}秒" "text": "提升可挂机的时间{0}秒"
}, },
"duration": 1, "duration": 1,
@ -615,7 +615,7 @@
"text": "陀螺" "text": "陀螺"
}, },
"description": { "description": {
"key": "wuguanshirenyu20008", "key": "xiaoguo_25",
"text": "提升可挂机的时间{0}秒,提升每分钟的经验值获取{0}%" "text": "提升可挂机的时间{0}秒,提升每分钟的经验值获取{0}%"
}, },
"duration": 1, "duration": 1,
@ -643,7 +643,7 @@
"text": "大转轮" "text": "大转轮"
}, },
"description": { "description": {
"key": "wuguanshirenyu20009", "key": "xiaoguo_26",
"text": "提升低级觉醒材料的获取数量{0}" "text": "提升低级觉醒材料的获取数量{0}"
}, },
"duration": 0, "duration": 0,
@ -682,7 +682,7 @@
"text": "木头牌" "text": "木头牌"
}, },
"description": { "description": {
"key": "wuguanshirenyu20010", "key": "xiaoguo_27",
"text": "提升低级觉醒材料的获取数量{0}" "text": "提升低级觉醒材料的获取数量{0}"
}, },
"duration": 0, "duration": 0,
@ -721,7 +721,7 @@
"text": "双节棍" "text": "双节棍"
}, },
"description": { "description": {
"key": "wuguanshirenyu20011", "key": "xiaoguo_28",
"text": "{0}%概率获得1个3级升星精灵" "text": "{0}%概率获得1个3级升星精灵"
}, },
"duration": 0, "duration": 0,
@ -760,7 +760,7 @@
"text": "练功带" "text": "练功带"
}, },
"description": { "description": {
"key": "wuguanshirenyu20012", "key": "xiaoguo_29",
"text": "{0}%概率获得1个3级升星精灵" "text": "{0}%概率获得1个3级升星精灵"
}, },
"duration": 0, "duration": 0,
@ -799,7 +799,7 @@
"text": "七彩花棍" "text": "七彩花棍"
}, },
"description": { "description": {
"key": "wuguanshirenyu20013", "key": "xiaoguo_30",
"text": "{0}%概率获得1个3级升星精灵" "text": "{0}%概率获得1个3级升星精灵"
}, },
"duration": 0, "duration": 0,
@ -838,7 +838,7 @@
"text": "流星飞镖" "text": "流星飞镖"
}, },
"description": { "description": {
"key": "wuguanshirenyu20014", "key": "xiaoguo_31",
"text": "提升可挂机的时间{0}秒" "text": "提升可挂机的时间{0}秒"
}, },
"duration": 1, "duration": 1,
@ -866,7 +866,7 @@
"text": "冥想锣" "text": "冥想锣"
}, },
"description": { "description": {
"key": "wuguanshirenyu20015", "key": "xiaoguo_32",
"text": "提升可挂机的时间{0}秒" "text": "提升可挂机的时间{0}秒"
}, },
"duration": 1, "duration": 1,
@ -894,7 +894,7 @@
"text": "彩条龙" "text": "彩条龙"
}, },
"description": { "description": {
"key": "wuguanshirenyu20016", "key": "xiaoguo_33",
"text": "提升可挂机的时间{0}秒,提升每分钟的经验值获取{0}%" "text": "提升可挂机的时间{0}秒,提升每分钟的经验值获取{0}%"
}, },
"duration": 1, "duration": 1,
@ -922,7 +922,7 @@
"text": "孔雀毛扇" "text": "孔雀毛扇"
}, },
"description": { "description": {
"key": "wuguanshirenyu20017", "key": "xiaoguo_34",
"text": "提升低级觉醒材料的获取数量{0}" "text": "提升低级觉醒材料的获取数量{0}"
}, },
"duration": 0, "duration": 0,
@ -959,7 +959,7 @@
"text": "平衡木" "text": "平衡木"
}, },
"description": { "description": {
"key": "wuguanshirenyu20018", "key": "xiaoguo_35",
"text": "提升低级觉醒材料的获取数量{0}" "text": "提升低级觉醒材料的获取数量{0}"
}, },
"duration": 0, "duration": 0,
@ -996,7 +996,7 @@
"text": "铁环" "text": "铁环"
}, },
"description": { "description": {
"key": "wuguanshirenyu20019", "key": "xiaoguo_36",
"text": "{0}%概率获得1个3级升星精灵" "text": "{0}%概率获得1个3级升星精灵"
}, },
"duration": 0, "duration": 0,
@ -1033,7 +1033,7 @@
"text": "太极球" "text": "太极球"
}, },
"description": { "description": {
"key": "wuguanshirenyu20020", "key": "xiaoguo_37",
"text": "{0}%概率获得1个3级升星精灵,提升低级觉醒材料的获取数量{0}" "text": "{0}%概率获得1个3级升星精灵,提升低级觉醒材料的获取数量{0}"
}, },
"duration": 0, "duration": 0,

View File

@ -1,6 +1,7 @@
[ [
{ {
"id": 101, "id": 101,
"heroid": 44005,
"datas": [ "datas": [
"GameMain", "GameMain",
"功能入口-招募", "功能入口-招募",
@ -14,6 +15,7 @@
}, },
{ {
"id": 102, "id": 102,
"heroid": 15005,
"datas": [ "datas": [
"GameMain", "GameMain",
"功能入口-主线", "功能入口-主线",
@ -27,6 +29,7 @@
}, },
{ {
"id": 103, "id": 103,
"heroid": 51001,
"datas": [ "datas": [
"WuGuanScene", "WuGuanScene",
"乌龟大师", "乌龟大师",
@ -40,6 +43,7 @@
}, },
{ {
"id": 104, "id": 104,
"heroid": 51002,
"datas": [ "datas": [
"WuGuanScene", "WuGuanScene",
"木桩1", "木桩1",
@ -53,6 +57,7 @@
}, },
{ {
"id": 10010, "id": 10010,
"heroid": 51003,
"datas": [ "datas": [
"GameMain", "GameMain",
"20010_熊猫_1", "20010_熊猫_1",
@ -66,6 +71,7 @@
}, },
{ {
"id": 10011, "id": 10011,
"heroid": 51004,
"datas": [ "datas": [
"GameMain", "GameMain",
"20010_骇客蛛_1", "20010_骇客蛛_1",
@ -79,6 +85,7 @@
}, },
{ {
"id": 10012, "id": 10012,
"heroid": 51005,
"datas": [ "datas": [
"GameMain", "GameMain",
"20010_箱子_1", "20010_箱子_1",
@ -92,6 +99,7 @@
}, },
{ {
"id": 10020, "id": 10020,
"heroid": 51006,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_熊猫_2", "20020_熊猫_2",
@ -105,6 +113,7 @@
}, },
{ {
"id": 10021, "id": 10021,
"heroid": 51007,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_邦尼兔_1", "20020_邦尼兔_1",
@ -118,6 +127,7 @@
}, },
{ {
"id": 10022, "id": 10022,
"heroid": 54005,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_熊猫_2", "20020_熊猫_2",
@ -131,6 +141,7 @@
}, },
{ {
"id": 10030, "id": 10030,
"heroid": 51010,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_熊猫_2", "20020_熊猫_2",
@ -144,6 +155,7 @@
}, },
{ {
"id": 10031, "id": 10031,
"heroid": 51011,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_邦尼兔_1", "20020_邦尼兔_1",
@ -157,6 +169,7 @@
}, },
{ {
"id": 10032, "id": 10032,
"heroid": 51012,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_邦尼兔_1", "20020_邦尼兔_1",
@ -170,6 +183,7 @@
}, },
{ {
"id": 10040, "id": 10040,
"heroid": 51013,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_邦尼兔_1", "20020_邦尼兔_1",
@ -183,6 +197,7 @@
}, },
{ {
"id": 10041, "id": 10041,
"heroid": 51014,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_熊猫_2", "20020_熊猫_2",
@ -196,6 +211,7 @@
}, },
{ {
"id": 10050, "id": 10050,
"heroid": 54001,
"datas": [ "datas": [
"WuGuanScene", "WuGuanScene",
"20050_邦尼兔_1", "20050_邦尼兔_1",
@ -209,6 +225,7 @@
}, },
{ {
"id": 10060, "id": 10060,
"heroid": 53001,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_熊猫_2", "20020_熊猫_2",
@ -222,6 +239,7 @@
}, },
{ {
"id": 10061, "id": 10061,
"heroid": 53002,
"datas": [ "datas": [
"GameMain", "GameMain",
"20010_熊猫_1", "20010_熊猫_1",
@ -235,6 +253,7 @@
}, },
{ {
"id": 10070, "id": 10070,
"heroid": 53003,
"datas": [ "datas": [
"SmithyScene", "SmithyScene",
"打造", "打造",
@ -248,6 +267,7 @@
}, },
{ {
"id": 10071, "id": 10071,
"heroid": 54002,
"datas": [ "datas": [
"GameMain", "GameMain",
"功能入口-维京远征", "功能入口-维京远征",
@ -261,6 +281,7 @@
}, },
{ {
"id": 10072, "id": 10072,
"heroid": 53005,
"datas": [ "datas": [
"SmithyScene", "SmithyScene",
"打造", "打造",
@ -274,6 +295,7 @@
}, },
{ {
"id": 10080, "id": 10080,
"heroid": 53006,
"datas": [ "datas": [
"GameMain", "GameMain",
"20010_骇客蛛_1", "20010_骇客蛛_1",
@ -287,6 +309,7 @@
}, },
{ {
"id": 10081, "id": 10081,
"heroid": 55001,
"datas": [ "datas": [
"GameMain", "GameMain",
"功能入口-主线", "功能入口-主线",
@ -300,6 +323,7 @@
}, },
{ {
"id": 10082, "id": 10082,
"heroid": 55002,
"datas": [ "datas": [
"GameMain", "GameMain",
"20080_食人鱼_1", "20080_食人鱼_1",
@ -313,6 +337,7 @@
}, },
{ {
"id": 10090, "id": 10090,
"heroid": 55003,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_熊猫_2", "20020_熊猫_2",
@ -326,6 +351,7 @@
}, },
{ {
"id": 10091, "id": 10091,
"heroid": 55004,
"datas": [ "datas": [
"GameMain", "GameMain",
"功能入口-招募", "功能入口-招募",
@ -339,6 +365,7 @@
}, },
{ {
"id": 10100, "id": 10100,
"heroid": 55005,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_熊猫_2", "20020_熊猫_2",
@ -352,6 +379,7 @@
}, },
{ {
"id": 10101, "id": 10101,
"heroid": 55006,
"datas": [ "datas": [
"GameMain", "GameMain",
"20100_梦魇_1", "20100_梦魇_1",
@ -365,6 +393,7 @@
}, },
{ {
"id": 10102, "id": 10102,
"heroid": 55007,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_邦尼兔_1", "20020_邦尼兔_1",
@ -378,6 +407,7 @@
}, },
{ {
"id": 10110, "id": 10110,
"heroid": 11021,
"datas": [ "datas": [
"GameMain", "GameMain",
"20020_熊猫_2", "20020_熊猫_2",
@ -391,6 +421,7 @@
}, },
{ {
"id": 70010, "id": 70010,
"heroid": 12003,
"datas": [ "datas": [
"GameMain", "GameMain",
"70010_盖_1", "70010_盖_1",
@ -404,6 +435,7 @@
}, },
{ {
"id": 70020, "id": 70020,
"heroid": 63002,
"datas": [ "datas": [
"GameMain", "GameMain",
"支线40010_格里森_1", "支线40010_格里森_1",
@ -417,6 +449,7 @@
}, },
{ {
"id": 70021, "id": 70021,
"heroid": 63003,
"datas": [ "datas": [
"SmithyScene", "SmithyScene",
"打造", "打造",
@ -430,6 +463,7 @@
}, },
{ {
"id": 70022, "id": 70022,
"heroid": 63004,
"datas": [ "datas": [
"GameMain", "GameMain",
"功能入口-维京远征", "功能入口-维京远征",
@ -443,6 +477,7 @@
}, },
{ {
"id": 70023, "id": 70023,
"heroid": 64003,
"datas": [ "datas": [
"GameMain", "GameMain",
"支线40020_格里森_2", "支线40020_格里森_2",
@ -456,6 +491,7 @@
}, },
{ {
"id": 70030, "id": 70030,
"heroid": 74002,
"datas": [ "datas": [
"SmithyScene", "SmithyScene",
"打造", "打造",
@ -469,6 +505,7 @@
}, },
{ {
"id": 70031, "id": 70031,
"heroid": 74003,
"datas": [ "datas": [
"SmithyScene", "SmithyScene",
"打造", "打造",
@ -482,6 +519,7 @@
}, },
{ {
"id": 70032, "id": 70032,
"heroid": 74004,
"datas": [ "datas": [
"GameMain", "GameMain",
"功能入口-维京远征", "功能入口-维京远征",
@ -495,6 +533,7 @@
}, },
{ {
"id": 70033, "id": 70033,
"heroid": 83002,
"datas": [ "datas": [
"SmithyScene", "SmithyScene",
"打造", "打造",
@ -508,6 +547,7 @@
}, },
{ {
"id": 70040, "id": 70040,
"heroid": 83006,
"datas": [ "datas": [
"WuGuanScene", "WuGuanScene",
"支线60010_瓦希尔指挥官_1", "支线60010_瓦希尔指挥官_1",
@ -521,6 +561,7 @@
}, },
{ {
"id": 70050, "id": 70050,
"heroid": 84002,
"datas": [ "datas": [
"GameMain", "GameMain",
"支线70010_小伊_1", "支线70010_小伊_1",
@ -534,6 +575,7 @@
}, },
{ {
"id": 70060, "id": 70060,
"heroid": 94002,
"datas": [ "datas": [
"GameMain", "GameMain",
"支线80010_鼻涕粗_1", "支线80010_鼻涕粗_1",

View File

@ -13601,9 +13601,7 @@
-1, -1,
-1 -1
], ],
"FollowSK": [ "FollowSK": [],
214001212
],
"SucFollowSK": [], "SucFollowSK": [],
"FailFollowSK": [], "FailFollowSK": [],
"MustHit": false, "MustHit": false,
@ -13650,9 +13648,7 @@
-1, -1,
-1 -1
], ],
"FollowSK": [ "FollowSK": [],
214001214
],
"SucFollowSK": [], "SucFollowSK": [],
"FailFollowSK": [], "FailFollowSK": [],
"MustHit": false, "MustHit": false,
@ -13694,10 +13690,7 @@
-1, -1,
-1 -1
], ],
"FollowSK": [ "FollowSK": [],
214001312,
214001313
],
"SucFollowSK": [], "SucFollowSK": [],
"FailFollowSK": [], "FailFollowSK": [],
"MustHit": false, "MustHit": false,
@ -13712,6 +13705,56 @@
"From": 3, "From": 3,
"Where": [], "Where": [],
"Order": "", "Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 2,
"Argu": [
414001312,
-1,
-1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 214001313,
"EmitPR": 1000,
"From": 3,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 8,
"Argu": [
1,
390001202,
-1,
1000
],
"FollowSK": [
214001314,
214001315
],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 214001314,
"EmitPR": 1000,
"From": 3,
"Where": [],
"Order": "",
"Limit": 1, "Limit": 1,
"ExecuteCnt": 1, "ExecuteCnt": 1,
"Type": 3, "Type": 3,
@ -13731,44 +13774,18 @@
"RevisiParams": [] "RevisiParams": []
}, },
{ {
"Id": 214001313, "Id": 214001315,
"EmitPR": 1000, "EmitPR": 1000,
"From": 3, "From": 3,
"Where": [], "Where": [],
"Order": "", "Order": "",
"Limit": 1, "Limit": 1,
"ExecuteCnt": 1, "ExecuteCnt": 1,
"Type": 28, "Type": 33,
"Argu": [
390001202,
1000,
10
],
"FollowSK": [
214001314
],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 214001314,
"EmitPR": 1000,
"From": 3,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 8,
"Argu": [ "Argu": [
1, 1,
390001202, 2,
-1, 400
1000
], ],
"FollowSK": [], "FollowSK": [],
"SucFollowSK": [], "SucFollowSK": [],
@ -13780,7 +13797,7 @@
"RevisiParams": [] "RevisiParams": []
}, },
{ {
"Id": 214001315, "Id": 214001316,
"EmitPR": 1000, "EmitPR": 1000,
"From": 4, "From": 4,
"Where": [], "Where": [],
@ -13797,7 +13814,7 @@
1200 1200
], ],
"FollowSK": [ "FollowSK": [
214001316 214001317
], ],
"SucFollowSK": [], "SucFollowSK": [],
"FailFollowSK": [], "FailFollowSK": [],
@ -13808,7 +13825,7 @@
"RevisiParams": [] "RevisiParams": []
}, },
{ {
"Id": 214001316, "Id": 214001317,
"EmitPR": 1000, "EmitPR": 1000,
"From": 4, "From": 4,
"Where": [], "Where": [],
@ -19235,7 +19252,7 @@
"Order": "", "Order": "",
"Limit": 1, "Limit": 1,
"ExecuteCnt": 1, "ExecuteCnt": 1,
"Type": 36, "Type": 37,
"Argu": [ "Argu": [
215002312, 215002312,
215002313, 215002313,
@ -23743,7 +23760,7 @@
"Order": "", "Order": "",
"Limit": 1, "Limit": 1,
"ExecuteCnt": 1, "ExecuteCnt": 1,
"Type": 33, "Type": 34,
"Argu": [ "Argu": [
1, 1,
1 1

View File

@ -8472,7 +8472,9 @@
"ChildSkill": { "ChildSkill": {
"Id": [ "Id": [
214001311, 214001311,
214001315 214001312,
214001313,
214001316
] ]
}, },
"Desc": { "Desc": {

View File

@ -744,15 +744,15 @@
{ {
"Id": 414001211, "Id": 414001211,
"When": 16, "When": 16,
"FromCheck": "", "FromCheck": "Target=2",
"TargetCheck": "Target=3", "TargetCheck": "Target=3",
"MainSkillCheck": "", "MainSkillCheck": "",
"AfterSkillCheck": "", "AfterSkillCheck": "",
"BuffCheck": "BuffID=390001202", "BuffCheck": "",
"AddCon": [], "AddCon": [],
"PasPr": 1000, "PasPr": 1000,
"Type": "CallSkillPas", "Type": "CallSkillPas",
"MaxEmitTimes": 1, "MaxEmitTimes": 10,
"Callback": [ "Callback": [
214001212 214001212
] ]
@ -775,10 +775,10 @@
}, },
{ {
"Id": 414001311, "Id": 414001311,
"When": 2, "When": 3,
"FromCheck": "Target=3,HasBuff=390001202,OverlayNum=10", "FromCheck": "Target=3,HasBuff=390001202,OverlayNum=10",
"TargetCheck": "Target=3", "TargetCheck": "Target=2",
"MainSkillCheck": "", "MainSkillCheck": "114001311",
"AfterSkillCheck": "", "AfterSkillCheck": "",
"BuffCheck": "", "BuffCheck": "",
"AddCon": [], "AddCon": [],
@ -786,8 +786,23 @@
"Type": "CallSkillPas", "Type": "CallSkillPas",
"MaxEmitTimes": 1, "MaxEmitTimes": 1,
"Callback": [ "Callback": [
214001315, 214001313
214001316 ]
},
{
"Id": 414001312,
"When": 18,
"FromCheck": "Target=3",
"TargetCheck": "Target=3",
"MainSkillCheck": "",
"AfterSkillCheck": "SkillID=214001313",
"BuffCheck": "BuffID=390001202,Succ=1",
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
"Callback": [
214001315
] ]
}, },
{ {

992
bin/json/game_talent.json Normal file
View File

@ -0,0 +1,992 @@
[
{
"id": 1,
"type": 1,
"node": 1001,
"pre_node": 0,
"node_lv": 1,
"pre_node_lv": 0,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 20
}
],
"range": 0,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 2,
"type": 1,
"node": 1001,
"pre_node": 0,
"node_lv": 2,
"pre_node_lv": 0,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 40
}
],
"range": 0,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 3,
"type": 1,
"node": 1001,
"pre_node": 0,
"node_lv": 3,
"pre_node_lv": 0,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 60
}
],
"range": 0,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 4,
"type": 1,
"node": 1001,
"pre_node": 0,
"node_lv": 4,
"pre_node_lv": 0,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 80
}
],
"range": 0,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 5,
"type": 1,
"node": 1001,
"pre_node": 0,
"node_lv": 5,
"pre_node_lv": 0,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 100
}
],
"range": 0,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 6,
"type": 1,
"node": 1002,
"pre_node": 1001,
"node_lv": 1,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 20
}
],
"range": 1,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 7,
"type": 1,
"node": 1002,
"pre_node": 1001,
"node_lv": 2,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 40
}
],
"range": 1,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 8,
"type": 1,
"node": 1002,
"pre_node": 1001,
"node_lv": 3,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 60
}
],
"range": 1,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 9,
"type": 1,
"node": 1002,
"pre_node": 1001,
"node_lv": 4,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 80
}
],
"range": 1,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 10,
"type": 1,
"node": 1002,
"pre_node": 1001,
"node_lv": 5,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 100
}
],
"range": 1,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 11,
"type": 1,
"node": 1003,
"pre_node": 1002,
"node_lv": 1,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 20
}
],
"range": 2,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 12,
"type": 1,
"node": 1003,
"pre_node": 1002,
"node_lv": 2,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 40
}
],
"range": 2,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 13,
"type": 1,
"node": 1003,
"pre_node": 1002,
"node_lv": 3,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 60
}
],
"range": 2,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 14,
"type": 1,
"node": 1003,
"pre_node": 1002,
"node_lv": 4,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "hp_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 80
}
],
"range": 2,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 15,
"type": 1,
"node": 1003,
"pre_node": 1002,
"node_lv": 5,
"pre_node_lv": 5,
"node_direction": 90,
"node_long": 20,
"node_png": "def_png",
"node_type": 1,
"disc_png": "",
"disc_pos": 0,
"attribute": [
{
"a": "hp",
"n": 100
}
],
"range": 2,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 16,
"type": 1,
"node": 2001,
"pre_node": 1003,
"node_lv": 1,
"pre_node_lv": 5,
"node_direction": 45,
"node_long": 30,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 3,
"attribute": [
{
"a": "def",
"n": 2
}
],
"range": 3,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 17,
"type": 1,
"node": 2001,
"pre_node": 1003,
"node_lv": 2,
"pre_node_lv": 5,
"node_direction": 45,
"node_long": 30,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 3,
"attribute": [
{
"a": "def",
"n": 4
}
],
"range": 3,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 18,
"type": 1,
"node": 2001,
"pre_node": 1003,
"node_lv": 3,
"pre_node_lv": 5,
"node_direction": 45,
"node_long": 30,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 3,
"attribute": [
{
"a": "def",
"n": 6
}
],
"range": 3,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 19,
"type": 1,
"node": 2001,
"pre_node": 1003,
"node_lv": 4,
"pre_node_lv": 5,
"node_direction": 45,
"node_long": 30,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 3,
"attribute": [
{
"a": "def",
"n": 8
}
],
"range": 3,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 20,
"type": 1,
"node": 2001,
"pre_node": 1003,
"node_lv": 5,
"pre_node_lv": 5,
"node_direction": 45,
"node_long": 30,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 3,
"attribute": [
{
"a": "def",
"n": 10
}
],
"range": 3,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 21,
"type": 1,
"node": 2002,
"pre_node": 2001,
"node_lv": 1,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 2,
"attribute": [
{
"a": "def",
"n": 2
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 22,
"type": 1,
"node": 2002,
"pre_node": 2001,
"node_lv": 2,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 2,
"attribute": [
{
"a": "def",
"n": 4
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 23,
"type": 1,
"node": 2002,
"pre_node": 2001,
"node_lv": 3,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 2,
"attribute": [
{
"a": "def",
"n": 6
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 24,
"type": 1,
"node": 2002,
"pre_node": 2001,
"node_lv": 4,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 2,
"attribute": [
{
"a": "def",
"n": 8
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 25,
"type": 1,
"node": 2002,
"pre_node": 2001,
"node_lv": 5,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "def_png",
"node_type": 1,
"disc_png": "png001",
"disc_pos": 2,
"attribute": [
{
"a": "def",
"n": 10
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 26,
"type": 1,
"node": 2003,
"pre_node": 2002,
"node_lv": 1,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "defpro_png",
"node_type": 2,
"disc_png": "png001",
"disc_pos": 1,
"attribute": [
{
"a": "defpro",
"n": 5
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 27,
"type": 1,
"node": 2003,
"pre_node": 2002,
"node_lv": 2,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "defpro_png",
"node_type": 2,
"disc_png": "png001",
"disc_pos": 1,
"attribute": [
{
"a": "defpro",
"n": 10
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 28,
"type": 1,
"node": 2003,
"pre_node": 2002,
"node_lv": 3,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "defpro_png",
"node_type": 2,
"disc_png": "png001",
"disc_pos": 1,
"attribute": [
{
"a": "defpro",
"n": 15
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 29,
"type": 1,
"node": 2003,
"pre_node": 2002,
"node_lv": 4,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "defpro_png",
"node_type": 2,
"disc_png": "png001",
"disc_pos": 1,
"attribute": [
{
"a": "defpro",
"n": 20
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"id": 30,
"type": 1,
"node": 2003,
"pre_node": 2002,
"node_lv": 5,
"pre_node_lv": 5,
"node_direction": 0,
"node_long": 0,
"node_png": "defpro_png",
"node_type": 2,
"disc_png": "png001",
"disc_pos": 1,
"attribute": [
{
"a": "defpro",
"n": 25
}
],
"range": 4,
"icon_cos": [
{
"a": "attr",
"t": "TalentPoints1",
"n": 1
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
}
]

View File

@ -168,7 +168,7 @@
] ]
}, },
{ {
"id": 110, "id": 113,
"name": { "name": {
"key": "story_80", "key": "story_80",
"text": "日常测试任务" "text": "日常测试任务"

File diff suppressed because it is too large Load Diff

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

View File

@ -0,0 +1,43 @@
//------------------------------------------------------------------------------
// <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 GameCampLvData struct {
Id int32
ReputationLv int32
RaceType int32
ReputationExp int32
Reward *Gameatn
}
const TypeId_GameCampLvData = -571721295
func (*GameCampLvData) GetTypeId() int32 {
return -571721295
}
func (_v *GameCampLvData)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["reputation_lv"].(float64); !_ok_ { err = errors.New("reputation_lv error"); return }; _v.ReputationLv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["raceType"].(float64); !_ok_ { err = errors.New("raceType error"); return }; _v.RaceType = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["reputation_exp"].(float64); !_ok_ { err = errors.New("reputation_exp error"); return }; _v.ReputationExp = int32(_tempNum_) }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["Reward"].(map[string]interface{}); !_ok_ { err = errors.New("Reward error"); return }; if _v.Reward, err = DeserializeGameatn(_x_); err != nil { return } }
return
}
func DeserializeGameCampLvData(_buf map[string]interface{}) (*GameCampLvData, error) {
v := &GameCampLvData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

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

View File

@ -0,0 +1,256 @@
//------------------------------------------------------------------------------
// <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 GameFavorabilityData struct {
Id int32
Hid string
Name string
FavorLv int32
FavorExp int32
LvName string
PrivilegeType int32
PrivilegeValue int32
ReturnReward []*Gameatn
ReturnTxt string
LikesFood []int32
DislikingFood []int32
LikesTxt string
OrdinaryTxt string
DislikingTxt string
Favorlv []int32
BiographyName []string
BiographyTxt []string
BiographyReward1 []*Gameatn
BiographyReward2 []*Gameatn
BiographyReward3 []*Gameatn
PlotUnlock []int32
Startid int32
Endid []int32
Rightend int32
Stroyprize []*Gameatn
SpecialStroyprize []*Gameatn
}
const TypeId_GameFavorabilityData = -1618357902
func (*GameFavorabilityData) GetTypeId() int32 {
return -1618357902
}
func (_v *GameFavorabilityData)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; if _v.Hid, _ok_ = _buf["hid"].(string); !_ok_ { err = errors.New("hid error"); return } }
{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 _tempNum_ float64; if _tempNum_, _ok_ = _buf["favor_lv"].(float64); !_ok_ { err = errors.New("favor_lv error"); return }; _v.FavorLv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["favor_exp"].(float64); !_ok_ { err = errors.New("favor_exp error"); return }; _v.FavorExp = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["lv_name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.LvName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.LvName, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["privilege_type"].(float64); !_ok_ { err = errors.New("privilege_type error"); return }; _v.PrivilegeType = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["privilege_value"].(float64); !_ok_ { err = errors.New("privilege_value error"); return }; _v.PrivilegeValue = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["return_reward"].([]interface{}); !_ok_ { err = errors.New("return_reward error"); return }
_v.ReturnReward = 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.ReturnReward = append(_v.ReturnReward, _list_v_)
}
}
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["return_txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.ReturnTxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.ReturnTxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["likes_food"].([]interface{}); !_ok_ { err = errors.New("likes_food error"); return }
_v.LikesFood = 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.LikesFood = append(_v.LikesFood, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["disliking_food"].([]interface{}); !_ok_ { err = errors.New("disliking_food error"); return }
_v.DislikingFood = 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.DislikingFood = append(_v.DislikingFood, _list_v_)
}
}
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["likes_txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.LikesTxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.LikesTxt, _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["ordinary_txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.OrdinaryTxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.OrdinaryTxt, _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["disliking_txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.DislikingTxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.DislikingTxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["favorlv"].([]interface{}); !_ok_ { err = errors.New("favorlv error"); return }
_v.Favorlv = 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.Favorlv = append(_v.Favorlv, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["biography_name"].([]interface{}); !_ok_ { err = errors.New("biography_name error"); return }
_v.BiographyName = make([]string, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ string
{ if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } }
_v.BiographyName = append(_v.BiographyName, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["biography_txt"].([]interface{}); !_ok_ { err = errors.New("biography_txt error"); return }
_v.BiographyTxt = make([]string, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ string
{ if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } }
_v.BiographyTxt = append(_v.BiographyTxt, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["biography_reward1"].([]interface{}); !_ok_ { err = errors.New("biography_reward1 error"); return }
_v.BiographyReward1 = 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.BiographyReward1 = append(_v.BiographyReward1, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["biography_reward2"].([]interface{}); !_ok_ { err = errors.New("biography_reward2 error"); return }
_v.BiographyReward2 = 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.BiographyReward2 = append(_v.BiographyReward2, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["biography_reward3"].([]interface{}); !_ok_ { err = errors.New("biography_reward3 error"); return }
_v.BiographyReward3 = 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.BiographyReward3 = append(_v.BiographyReward3, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["plot_unlock"].([]interface{}); !_ok_ { err = errors.New("plot_unlock error"); return }
_v.PlotUnlock = 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.PlotUnlock = append(_v.PlotUnlock, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["startid"].(float64); !_ok_ { err = errors.New("startid error"); return }; _v.Startid = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["endid"].([]interface{}); !_ok_ { err = errors.New("endid error"); return }
_v.Endid = 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.Endid = append(_v.Endid, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["rightend"].(float64); !_ok_ { err = errors.New("rightend error"); return }; _v.Rightend = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["stroyprize"].([]interface{}); !_ok_ { err = errors.New("stroyprize error"); return }
_v.Stroyprize = 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.Stroyprize = append(_v.Stroyprize, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["special_stroyprize"].([]interface{}); !_ok_ { err = errors.New("special_stroyprize error"); return }
_v.SpecialStroyprize = 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.SpecialStroyprize = append(_v.SpecialStroyprize, _list_v_)
}
}
return
}
func DeserializeGameFavorabilityData(_buf map[string]interface{}) (*GameFavorabilityData, error) {
v := &GameFavorabilityData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

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

View File

@ -0,0 +1,68 @@
//------------------------------------------------------------------------------
// <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 GameFriendsData struct {
Id int32
FriendId int32
Type int32
TypeName string
FriendName string
Png string
FriendsLv int32
FavorabilityLv int32
Hid int32
Attribute []*Gameatr
AttributeTxt string
}
const TypeId_GameFriendsData = -103780637
func (*GameFriendsData) GetTypeId() int32 {
return -103780637
}
func (_v *GameFriendsData)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["friend_id"].(float64); !_ok_ { err = errors.New("friend_id error"); return }; _v.FriendId = 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["type_name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TypeName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TypeName, _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["friend_name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.FriendName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.FriendName, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; if _v.Png, _ok_ = _buf["png"].(string); !_ok_ { err = errors.New("png error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["friends_lv"].(float64); !_ok_ { err = errors.New("friends_lv error"); return }; _v.FriendsLv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["favorability_lv"].(float64); !_ok_ { err = errors.New("favorability_lv error"); return }; _v.FavorabilityLv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hid"].(float64); !_ok_ { err = errors.New("hid error"); return }; _v.Hid = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["attribute"].([]interface{}); !_ok_ { err = errors.New("attribute error"); return }
_v.Attribute = make([]*Gameatr, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ *Gameatr
{ 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 = DeserializeGameatr(_x_); err != nil { return } }
_v.Attribute = append(_v.Attribute, _list_v_)
}
}
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["attribute_txt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.AttributeTxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.AttributeTxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
return
}
func DeserializeGameFriendsData(_buf map[string]interface{}) (*GameFriendsData, error) {
v := &GameFriendsData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -12,6 +12,7 @@ import "errors"
type GameRdtaskNpcData struct { type GameRdtaskNpcData struct {
Id int32 Id int32
Heroid int32
Datas []string Datas []string
Event []int32 Event []int32
Goto int32 Goto int32
@ -25,6 +26,7 @@ func (*GameRdtaskNpcData) GetTypeId() int32 {
func (_v *GameRdtaskNpcData)Deserialize(_buf map[string]interface{}) (err error) { func (_v *GameRdtaskNpcData)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["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["heroid"].(float64); !_ok_ { err = errors.New("heroid error"); return }; _v.Heroid = int32(_tempNum_) }
{ {
var _arr_ []interface{} var _arr_ []interface{}
var _ok_ bool var _ok_ bool

View File

@ -41,8 +41,9 @@ const (
GameSkillEffectType_Rebirth = 30 GameSkillEffectType_Rebirth = 30
GameSkillEffectType_StealBuff = 31 GameSkillEffectType_StealBuff = 31
GameSkillEffectType_BuffDmg = 32 GameSkillEffectType_BuffDmg = 32
GameSkillEffectType_ShiftOurAllBuff = 33 GameSkillEffectType_BuffTre = 33
GameSkillEffectType_DrawActValueToTeam = 34 GameSkillEffectType_ShiftOurAllBuff = 34
GameSkillEffectType_SpecialTre = 35 GameSkillEffectType_DrawActValueToTeam = 35
GameSkillEffectType_RandChildSkill = 36 GameSkillEffectType_SpecialTre = 36
GameSkillEffectType_RandChildSkill = 37
) )

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

View File

@ -0,0 +1,89 @@
//------------------------------------------------------------------------------
// <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 GameTalentData struct {
Id int32
Type int32
Node int32
PreNode int32
NodeLv int32
PreNodeLv int32
NodeDirection int32
NodeLong int32
NodePng string
NodeType int32
DiscPng string
DiscPos int32
Attribute []*Gameatr
Range int32
IconCos []*Gameatn
}
const TypeId_GameTalentData = -1561355726
func (*GameTalentData) GetTypeId() int32 {
return -1561355726
}
func (_v *GameTalentData)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["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["node"].(float64); !_ok_ { err = errors.New("node error"); return }; _v.Node = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pre_node"].(float64); !_ok_ { err = errors.New("pre_node error"); return }; _v.PreNode = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["node_lv"].(float64); !_ok_ { err = errors.New("node_lv error"); return }; _v.NodeLv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pre_node_lv"].(float64); !_ok_ { err = errors.New("pre_node_lv error"); return }; _v.PreNodeLv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["node_direction"].(float64); !_ok_ { err = errors.New("node_direction error"); return }; _v.NodeDirection = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["node_long"].(float64); !_ok_ { err = errors.New("node_long error"); return }; _v.NodeLong = int32(_tempNum_) }
{ var _ok_ bool; if _v.NodePng, _ok_ = _buf["node_png"].(string); !_ok_ { err = errors.New("node_png error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["node_type"].(float64); !_ok_ { err = errors.New("node_type error"); return }; _v.NodeType = int32(_tempNum_) }
{ var _ok_ bool; if _v.DiscPng, _ok_ = _buf["disc_png"].(string); !_ok_ { err = errors.New("disc_png error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["disc_pos"].(float64); !_ok_ { err = errors.New("disc_pos error"); return }; _v.DiscPos = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["attribute"].([]interface{}); !_ok_ { err = errors.New("attribute error"); return }
_v.Attribute = make([]*Gameatr, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ *Gameatr
{ 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 = DeserializeGameatr(_x_); err != nil { return } }
_v.Attribute = append(_v.Attribute, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["range"].(float64); !_ok_ { err = errors.New("range error"); return }; _v.Range = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["icon_cos"].([]interface{}); !_ok_ { err = errors.New("icon_cos error"); return }
_v.IconCos = 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.IconCos = append(_v.IconCos, _list_v_)
}
}
return
}
func DeserializeGameTalentData(_buf map[string]interface{}) (*GameTalentData, error) {
v := &GameTalentData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -22,8 +22,11 @@ type GameWorldTaskData struct {
TaskTname string TaskTname string
TaskName string TaskName string
TaskDisplay string TaskDisplay string
Npctxt string
Npc int32 Npc int32
Completetasktxt string
Completetask []int32 Completetask []int32
DeliverNpctxt string
DeliverNpc int32 DeliverNpc int32
AutoAccept int32 AutoAccept int32
Reword []*Gameatn Reword []*Gameatn
@ -48,7 +51,9 @@ func (_v *GameWorldTaskData)Deserialize(_buf map[string]interface{}) (err error)
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_Tname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskTname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskTname, _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["task_Tname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskTname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskTname, _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["task_name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskName, _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["task_name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskName, _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["task_display"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskDisplay error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskDisplay, _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["task_display"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskDisplay error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskDisplay, _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["npctxt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Npctxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Npctxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["npc"].(float64); !_ok_ { err = errors.New("npc error"); return }; _v.Npc = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["npc"].(float64); !_ok_ { err = errors.New("npc error"); return }; _v.Npc = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["completetasktxt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Completetasktxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Completetasktxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ {
var _arr_ []interface{} var _arr_ []interface{}
var _ok_ bool var _ok_ bool
@ -63,6 +68,7 @@ func (_v *GameWorldTaskData)Deserialize(_buf map[string]interface{}) (err error)
} }
} }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["deliver_npctxt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.DeliverNpctxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.DeliverNpctxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["deliver_npc"].(float64); !_ok_ { err = errors.New("deliver_npc error"); return }; _v.DeliverNpc = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["deliver_npc"].(float64); !_ok_ { err = errors.New("deliver_npc error"); return }; _v.DeliverNpc = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["auto_accept"].(float64); !_ok_ { err = errors.New("auto_accept error"); return }; _v.AutoAccept = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["auto_accept"].(float64); !_ok_ { err = errors.New("auto_accept error"); return }; _v.AutoAccept = int32(_tempNum_) }
{ {

View File

@ -185,6 +185,10 @@ type Tables struct {
itinerant_lv *Gameitinerant_lv itinerant_lv *Gameitinerant_lv
itinerant_reward *Gameitinerant_reward itinerant_reward *Gameitinerant_reward
NewRedDot *GameNewRedDot NewRedDot *GameNewRedDot
Talent *GameTalent
Favorability *GameFavorability
Friends *GameFriends
CampLv *GameCampLv
} }
func NewTables(loader JsonLoader) (*Tables, error) { func NewTables(loader JsonLoader) (*Tables, error) {
@ -1236,5 +1240,29 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.NewRedDot, err = NewGameNewRedDot(buf) ; err != nil { if tables.NewRedDot, err = NewGameNewRedDot(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_talent") ; err != nil {
return nil, err
}
if tables.Talent, err = NewGameTalent(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_favorability") ; err != nil {
return nil, err
}
if tables.Favorability, err = NewGameFavorability(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_friends") ; err != nil {
return nil, err
}
if tables.Friends, err = NewGameFriends(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_camplv") ; err != nil {
return nil, err
}
if tables.CampLv, err = NewGameCampLv(buf) ; err != nil {
return nil, err
}
return tables, nil return tables, nil
} }