新版抽卡配置解析

This commit is contained in:
meixiongfeng 2023-06-21 11:02:18 +08:00
parent 6649778133
commit e1b5fc5101
18 changed files with 1483 additions and 1054 deletions

View File

@ -25,8 +25,8 @@
"n3pool": "base_pool10",
"n4pool": "base_pool11",
"n5pool": "base_pool12",
"b4": 10,
"b6": 90,
"baodi4": 10,
"baidi5": 90,
"etime": -1,
"permission": 1,
"consumeA": [
@ -64,8 +64,8 @@
"n3pool": "base_pool10",
"n4pool": "base_pool11",
"n5pool": "base_pool12",
"b4": 10,
"b6": 0,
"baodi4": 10,
"baidi5": 0,
"etime": -1,
"permission": 1,
"consumeA": [
@ -103,8 +103,8 @@
"n3pool": "base_pool10",
"n4pool": "base_pool11",
"n5pool": "base_pool12",
"b4": 10,
"b6": 0,
"baodi4": 10,
"baidi5": 0,
"etime": -1,
"permission": 1,
"consumeA": [
@ -142,8 +142,8 @@
"n3pool": "base_pool10",
"n4pool": "base_pool11",
"n5pool": "base_pool12",
"b4": 10,
"b6": 0,
"baodi4": 10,
"baidi5": 0,
"etime": -1,
"permission": 1,
"consumeA": [
@ -181,8 +181,8 @@
"n3pool": "base_pool10",
"n4pool": "base_pool11",
"n5pool": "base_pool12",
"b4": 10,
"b6": 0,
"baodi4": 10,
"baidi5": 0,
"etime": -1,
"permission": 1,
"consumeA": [

View File

@ -1,37 +0,0 @@
[
{
"num": 0,
"color": {
"key": "equip_equip_color_color_1",
"text": "普通"
}
},
{
"num": 1,
"color": {
"key": "equip_equip_color_color_2",
"text": "稀有"
}
},
{
"num": 2,
"color": {
"key": "equip_equip_color_color_3",
"text": "卓越"
}
},
{
"num": 3,
"color": {
"key": "equip_equip_color_color_4",
"text": "优秀"
}
},
{
"num": 4,
"color": {
"key": "equip_equip_color_color_5",
"text": "完美"
}
}
]

View File

@ -1,102 +0,0 @@
[
{
"hero": "14007",
"switch": 1,
"pointhero": [
"35001",
"35001",
"35001",
"35001"
],
"awaken": 1,
"start": 1,
"lv": 1,
"fuison": [
{
"a": "attr",
"t": "gold",
"n": 15000
}
]
},
{
"hero": "35001",
"switch": 1,
"pointhero": [
"25001",
"25001",
"25001",
"25001"
],
"awaken": 1,
"start": 1,
"lv": 1,
"fuison": [
{
"a": "attr",
"t": "gold",
"n": 15000
}
]
},
{
"hero": "25001",
"switch": 1,
"pointhero": [
"25004",
"25004",
"25004",
"25004"
],
"awaken": 1,
"start": 1,
"lv": 1,
"fuison": [
{
"a": "attr",
"t": "gold",
"n": 15000
}
]
},
{
"hero": "25004",
"switch": 1,
"pointhero": [
"44005",
"44005",
"44005",
"44005"
],
"awaken": 1,
"start": 1,
"lv": 1,
"fuison": [
{
"a": "attr",
"t": "gold",
"n": 15000
}
]
},
{
"hero": "45003",
"switch": 1,
"pointhero": [
"44005",
"44005",
"44005",
"44005"
],
"awaken": 1,
"start": 1,
"lv": 1,
"fuison": [
{
"a": "attr",
"t": "gold",
"n": 15000
}
]
}
]

View File

@ -1,182 +0,0 @@
[
{
"id": 10100,
"subTask": 0,
"nodeIndex": 0,
"order": "1",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_1",
"text": "让阿宝变强1"
},
"describe": {
"key": "library_companionplot_describe_1",
"text": "让阿宝变强1"
},
"img": "zx_pt_01",
"ending": 0
},
{
"id": 10101,
"subTask": 10100,
"nodeIndex": 1,
"order": "2",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_2",
"text": "让阿宝变强2"
},
"describe": {
"key": "library_companionplot_describe_2",
"text": "让阿宝变强2"
},
"img": "zx_pt_02",
"ending": 0
},
{
"id": 10102,
"subTask": 10101,
"nodeIndex": 2,
"order": "3",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_3",
"text": "让阿宝变强3"
},
"describe": {
"key": "library_companionplot_describe_3",
"text": "让阿宝变强3"
},
"img": "zx_pt_03",
"ending": 0
},
{
"id": 10103,
"subTask": 10102,
"nodeIndex": 3,
"order": "4",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_4",
"text": "让阿宝变强4"
},
"describe": {
"key": "library_companionplot_describe_4",
"text": "让阿宝变强4"
},
"img": "zx_pt_04",
"ending": 0
},
{
"id": 10104,
"subTask": 10103,
"nodeIndex": 4,
"order": "5",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_5",
"text": "让阿宝变强5"
},
"describe": {
"key": "library_companionplot_describe_5",
"text": "让阿宝变强5"
},
"img": "zx_pt_05",
"ending": 0
},
{
"id": 10105,
"subTask": 10104,
"nodeIndex": 5,
"order": "6",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_6",
"text": "让阿宝变强6"
},
"describe": {
"key": "library_companionplot_describe_6",
"text": "让阿宝变强6"
},
"img": "zx_pt_06",
"ending": 0
},
{
"id": 10106,
"subTask": 10105,
"nodeIndex": 6,
"order": "7",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_7",
"text": "让阿宝变强7"
},
"describe": {
"key": "library_companionplot_describe_7",
"text": "让阿宝变强7"
},
"img": "zx_pt_07",
"ending": 0
},
{
"id": 10107,
"subTask": 10106,
"nodeIndex": 7,
"order": "8",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_8",
"text": "让阿宝变强8"
},
"describe": {
"key": "library_companionplot_describe_8",
"text": "让阿宝变强8"
},
"img": "zx_pt_08",
"ending": 0
},
{
"id": 10108,
"subTask": 10107,
"nodeIndex": 8,
"order": "9",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_9",
"text": "让阿宝变强9"
},
"describe": {
"key": "library_companionplot_describe_9",
"text": "让阿宝变强9"
},
"img": "zx_pt_01",
"ending": 0
},
{
"id": 10109,
"subTask": 10108,
"nodeIndex": 9,
"order": "10",
"story_id": 300001,
"fetter_id": 40001,
"name": {
"key": "library_companionplot_name_10",
"text": "让阿宝变强10"
},
"describe": {
"key": "library_companionplot_describe_10",
"text": "让阿宝变强10"
},
"img": "zx_pt_02",
"ending": 1
}
]

File diff suppressed because it is too large Load Diff

View File

@ -124663,8 +124663,8 @@
"Id": 306003,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 3,
"equip": [],
@ -124963,8 +124963,8 @@
"Id": 306006,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 3,
"equip": [],
@ -125263,8 +125263,8 @@
"Id": 306009,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 3,
"equip": [],
@ -125563,8 +125563,8 @@
"Id": 306012,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 3,
"equip": [],
@ -125863,8 +125863,8 @@
"Id": 306015,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 4,
"equip": [],
@ -126163,8 +126163,8 @@
"Id": 306018,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 4,
"equip": [],
@ -126463,8 +126463,8 @@
"Id": 306021,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 4,
"equip": [],
@ -126763,8 +126763,8 @@
"Id": 306024,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 4,
"equip": [],
@ -127063,8 +127063,8 @@
"Id": 306027,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 5,
"equip": [],
@ -127363,8 +127363,8 @@
"Id": 306030,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 5,
"equip": [],
@ -127663,8 +127663,8 @@
"Id": 306033,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 5,
"equip": [],
@ -127963,8 +127963,8 @@
"Id": 306036,
"pos": 4,
"captainId": 1,
"IsBoss": 1,
"bossHpCnt": 4,
"IsBoss": 0,
"bossHpCnt": 0,
"heroid": 53003,
"star": 5,
"equip": [],

View File

@ -1,342 +0,0 @@
[
{
"id": 10100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Task",
"header": ""
},
{
"id": 10101,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Daily",
"header": "赵长远"
},
{
"id": 10102,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Week",
"header": "赵长远"
},
{
"id": 10103,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Achievement",
"header": "赵长远"
},
{
"id": 10200,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Task|Daily",
"header": ""
},
{
"id": 10201,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Daily|Active",
"header": ""
},
{
"id": 10300,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Task|Week",
"header": ""
},
{
"id": 10301,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Week|Active",
"header": ""
},
{
"id": 11100,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|MainLine",
"header": "梅雄风"
},
{
"id": 12100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Email",
"header": ""
},
{
"id": 12101,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Email|Btn",
"header": ""
},
{
"id": 12102,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Email|UnreadBtn",
"header": ""
},
{
"id": 13100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|ViKingExpedition",
"header": ""
},
{
"id": 13101,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|ViKingExpedition|MainPage",
"header": ""
},
{
"id": 13102,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|ViKingExpedition|MainPage|Btn",
"header": ""
},
{
"id": 14100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hunting",
"header": ""
},
{
"id": 14101,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hunting|MainPage",
"header": ""
},
{
"id": 14102,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hunting|MainPage|Btn",
"header": ""
},
{
"id": 20100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero",
"header": ""
},
{
"id": 20101,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Heroup",
"header": ""
},
{
"id": 20102,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Heroup|Btn",
"header": ""
},
{
"id": 20200,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Awake",
"header": ""
},
{
"id": 20201,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Awake|Btn",
"header": ""
},
{
"id": 20300,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Heroup",
"header": ""
},
{
"id": 20301,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Heroup|Btn",
"header": ""
},
{
"id": 15100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild",
"header": "赵长远"
},
{
"id": 15101,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild|MBtn",
"header": "赵长远"
},
{
"id": 15102,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild|MBtn|Btn",
"header": "赵长远"
},
{
"id": 15200,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild|Apply",
"header": ""
},
{
"id": 15201,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild|Apply|Btn",
"header": ""
},
{
"id": 16100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Bag",
"header": "赵长远"
},
{
"id": 16101,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Bag|Item",
"header": "赵长远"
},
{
"id": 16102,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Bag|Equip",
"header": "赵长远"
},
{
"id": 16103,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Bag|Shard",
"header": "赵长远"
}
]

View File

@ -1540,7 +1540,7 @@
"heroid": 25001,
"datas": [
"GameMain",
"20030_熊猫2",
"云朵先生",
"901"
],
"event": [
@ -1554,7 +1554,7 @@
"heroid": 25001,
"datas": [
"GameMain",
"20030_熊猫2",
"暴芙那特",
"901"
],
"event": [
@ -1580,7 +1580,7 @@
"heroid": 25001,
"datas": [
"GameMain",
"20030_熊猫2",
"功能入口-维京远征",
"901"
],
"event": [
@ -1621,9 +1621,9 @@
"id": 10320,
"heroid": 25001,
"datas": [
"GameMain",
"20030_邦尼兔4",
"901"
"CommandScene",
"功能入口_主线",
"905"
],
"event": [
2,
@ -1659,9 +1659,9 @@
"id": 10330,
"heroid": 25001,
"datas": [
"GameMain",
"20030_邦尼兔4",
"901"
"CommandScene",
"功能入口_主线",
"905"
],
"event": [
2,

View File

@ -1,226 +0,0 @@
[
{
"id": 10001,
"type": 1,
"group": "task",
"layer": "Root|Task|Daily",
"header": "赵长远"
},
{
"id": 10002,
"type": 1,
"group": "task",
"layer": "Root|Task|Week",
"header": "赵长远"
},
{
"id": 10003,
"type": 1,
"group": "sociaty",
"layer": "Root|Guild|MBtn|Btn",
"header": "赵长远"
},
{
"id": 10004,
"type": 1,
"group": "task",
"layer": "Root|Task|Achievement",
"header": "赵长远"
},
{
"id": 10005,
"type": 1,
"group": "mainline",
"layer": "",
"header": "梅雄风"
},
{
"id": 10006,
"type": 1,
"group": "",
"layer": "Root|Pagoda|Challenge",
"header": "梅雄风"
},
{
"id": 10007,
"type": 0,
"group": "",
"layer": "Root|Pagoda|Reward",
"header": ""
},
{
"id": 10008,
"type": 2,
"group": "",
"layer": "Root|Hero|Heroup|Btn",
"header": ""
},
{
"id": 10009,
"type": 2,
"group": "",
"layer": "Root|Hero|Awake|Btn",
"header": ""
},
{
"id": 10010,
"type": 2,
"group": "",
"layer": "Root|Hero|Resonance|Icon|Btn",
"header": ""
},
{
"id": 10011,
"type": 2,
"group": "",
"layer": "Root|Hero|Heroup|Btn",
"header": ""
},
{
"id": 10012,
"type": 2,
"group": "",
"layer": "Root|Hero|Equip|Wear",
"header": ""
},
{
"id": 10013,
"type": 2,
"group": "",
"layer": "Root|Hero|Equip|Replace",
"header": ""
},
{
"id": 10014,
"type": 2,
"group": "",
"layer": "Root|Hero|Equip|IntensifyPage|Intensify",
"header": ""
},
{
"id": 10015,
"type": 2,
"group": "",
"layer": "Root|Hero|Equip|EnchantPage|Enchant",
"header": ""
},
{
"id": 10016,
"type": 2,
"group": "",
"layer": "Root|Hero|Equip|WashsPracticePage|WashsPractice",
"header": ""
},
{
"id": 10017,
"type": 1,
"group": "",
"layer": "Root|Head|Horoscope|Water|Icon|Btn",
"header": ""
},
{
"id": 10018,
"type": 1,
"group": "",
"layer": "Root|Recruit|Btn",
"header": ""
},
{
"id": 10019,
"type": 1,
"group": "",
"layer": "Root|Arena|Btn",
"header": ""
},
{
"id": 10020,
"type": 1,
"group": "",
"layer": "Root|Gourmet|Order|OrderBtn",
"header": ""
},
{
"id": 10021,
"type": 1,
"group": "",
"layer": "Root|Gourmet|Order|UpBtn|Btn",
"header": ""
},
{
"id": 10022,
"type": 1,
"group": "",
"layer": "Root|Gourmet|OrderReceive|Btn",
"header": ""
},
{
"id": 10023,
"type": 1,
"group": "",
"layer": "Root|KungFu|Pillar|Btn",
"header": ""
},
{
"id": 10024,
"type": 1,
"group": "",
"layer": "Root|KungFu|Up|Btn",
"header": ""
},
{
"id": 10025,
"type": 1,
"group": "",
"layer": "Root|KungFu|Pillar|ReceiveBtn",
"header": ""
},
{
"id": 10026,
"type": 2,
"group": "",
"layer": "Root|Email|Btn",
"header": ""
},
{
"id": 10027,
"type": 1,
"group": "task",
"layer": "Root|Task|Daily|Active",
"header": ""
},
{
"id": 10028,
"type": 1,
"group": "task",
"layer": "Root|Task|Week|Active",
"header": ""
},
{
"id": 10029,
"type": 1,
"group": "sociaty",
"layer": "Root|Guild|Apply|Btn",
"header": ""
},
{
"id": 10030,
"type": 1,
"group": "",
"layer": "Root|Email|UnreadBtn",
"header": ""
},
{
"id": 10031,
"type": 1,
"group": "",
"layer": "Root|ViKingExpedition|MainPage|Btn",
"header": ""
},
{
"id": 10032,
"type": 1,
"group": "",
"layer": "Root|Hunting|MainPage|Btn",
"header": ""
}
]

View File

@ -9,7 +9,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 5
"n": 0
}
},
{
@ -22,7 +22,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 5
"n": 0
}
},
{
@ -35,7 +35,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 5
"n": 0
}
},
{
@ -48,7 +48,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 5
"n": 0
}
},
{
@ -61,7 +61,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 5
"n": 0
}
},
{
@ -74,7 +74,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 5
"n": 0
}
},
{
@ -87,7 +87,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 5
"n": 0
}
},
{
@ -100,7 +100,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 5
"n": 0
}
},
{
@ -113,7 +113,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -126,7 +126,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -139,7 +139,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -152,7 +152,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -165,7 +165,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -178,7 +178,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -191,7 +191,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -204,7 +204,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -217,7 +217,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -230,7 +230,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 8
"n": 0
}
},
{
@ -243,7 +243,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 10
"n": 0
}
},
{
@ -256,7 +256,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 10
"n": 0
}
},
{
@ -269,7 +269,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 10
"n": 0
}
},
{
@ -282,7 +282,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 10
"n": 0
}
},
{
@ -295,7 +295,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 10
"n": 0
}
},
{
@ -308,7 +308,7 @@
"playexp": {
"a": "attr",
"t": "exp",
"n": 10
"n": 0
}
}
]

View File

@ -1174,7 +1174,7 @@
},
"npctxt": {
"key": "worldtask_world_task_npctxt_33",
"text": "和阿宝对话"
"text": "和希卡普对话"
},
"npc": 10310,
"completetask": [
@ -1210,7 +1210,7 @@
},
"npctxt": {
"key": "worldtask_world_task_npctxt_34",
"text": "和邦尼兔对话"
"text": "和骇客蛛对话"
},
"npc": 10320,
"completetask": [
@ -1246,7 +1246,7 @@
},
"npctxt": {
"key": "worldtask_world_task_npctxt_35",
"text": "与邦尼兔聊聊"
"text": "和骇客蛛对话"
},
"npc": 10330,
"completetask": [

View File

@ -33,6 +33,9 @@ const (
hero_talentbox = "game_talentbox.json" // 天赋详细数据
game_shopitem = "game_shopitem.json"
hero_skill = "game_heroskill.json"
hero_draw = "game_drawpool.json" // 新版抽卡
hero_cardweight = "game_drawweight.json" // 新版抽卡权重
)
// /配置管理组件
@ -64,6 +67,7 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
hero_talentbox: cfg.NewGameTalentBox,
game_shopitem: cfg.NewGameShopitem,
hero_skill: cfg.NewGameHeroSkill,
hero_draw: cfg.NewGameDrawPool,
})
this.drawCardCfg = make(map[string]map[int32][]*cfg.GameDrawCardData, 0)
configure.RegisterConfigure(hero_drawcard, cfg.NewGameDrawCard, this.SetHeroDrawConfig)
@ -103,6 +107,7 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
}
})
this.GetHeroDrawConfigByType(1)
return
}
@ -395,3 +400,20 @@ func (this *configureComp) GetHeroTalentMaxLv(heroid string) (maxlv int32) {
return 0
}
// id: 1 表示普通抽 2表示阵营1 3表示阵营2 ...
func (this *configureComp) GetHeroDrawConfigByType(id int32) (data *cfg.GameDrawPoolData, err error) {
var (
v interface{}
)
if v, err = this.GetConfigure(hero_draw); err == nil {
if conf, ok := v.(*cfg.GameDrawPool); ok {
if data = conf.Get(id); data != nil {
return
}
}
}
err = comm.NewNotFoundConfErr(moduleName, hero_draw, id)
return
}

View File

@ -23,8 +23,8 @@ type GameDrawPoolData struct {
N3pool string
N4pool string
N5pool string
B4 int32
B6 int32
Baodi4 int32
Baidi5 int32
Etime int32
Permission int32
ConsumeA []*Gameatn
@ -63,8 +63,8 @@ func (_v *GameDrawPoolData)Deserialize(_buf map[string]interface{}) (err error)
{ var _ok_ bool; if _v.N3pool, _ok_ = _buf["n3pool"].(string); !_ok_ { err = errors.New("n3pool error"); return } }
{ var _ok_ bool; if _v.N4pool, _ok_ = _buf["n4pool"].(string); !_ok_ { err = errors.New("n4pool error"); return } }
{ var _ok_ bool; if _v.N5pool, _ok_ = _buf["n5pool"].(string); !_ok_ { err = errors.New("n5pool error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["b4"].(float64); !_ok_ { err = errors.New("b4 error"); return }; _v.B4 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["b6"].(float64); !_ok_ { err = errors.New("b6 error"); return }; _v.B6 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["baodi4"].(float64); !_ok_ { err = errors.New("baodi4 error"); return }; _v.Baodi4 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["baidi5"].(float64); !_ok_ { err = errors.New("baidi5 error"); return }; _v.Baidi5 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["etime"].(float64); !_ok_ { err = errors.New("etime error"); return }; _v.Etime = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["permission"].(float64); !_ok_ { err = errors.New("permission error"); return }; _v.Permission = int32(_tempNum_) }
{

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

View File

@ -10,25 +10,25 @@ package cfg
import "errors"
type GameDrawWeigthData struct {
type GameDrawWeightData struct {
Key int32
Weight int32
}
const TypeId_GameDrawWeigthData = -1955284598
const TypeId_GameDrawWeightData = 2007215138
func (*GameDrawWeigthData) GetTypeId() int32 {
return -1955284598
func (*GameDrawWeightData) GetTypeId() int32 {
return 2007215138
}
func (_v *GameDrawWeigthData)Deserialize(_buf map[string]interface{}) (err error) {
func (_v *GameDrawWeightData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["weight"].(float64); !_ok_ { err = errors.New("weight error"); return }; _v.Weight = int32(_tempNum_) }
return
}
func DeserializeGameDrawWeigthData(_buf map[string]interface{}) (*GameDrawWeigthData, error) {
v := &GameDrawWeigthData{}
func DeserializeGameDrawWeightData(_buf map[string]interface{}) (*GameDrawWeightData, error) {
v := &GameDrawWeightData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {

View File

@ -1,42 +0,0 @@
//------------------------------------------------------------------------------
// <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 GameDrawWeigth struct {
_dataMap map[int32]*GameDrawWeigthData
_dataList []*GameDrawWeigthData
}
func NewGameDrawWeigth(_buf []map[string]interface{}) (*GameDrawWeigth, error) {
_dataList := make([]*GameDrawWeigthData, 0, len(_buf))
dataMap := make(map[int32]*GameDrawWeigthData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameDrawWeigthData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Key] = _v
}
}
return &GameDrawWeigth{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameDrawWeigth) GetDataMap() map[int32]*GameDrawWeigthData {
return table._dataMap
}
func (table *GameDrawWeigth) GetDataList() []*GameDrawWeigthData {
return table._dataList
}
func (table *GameDrawWeigth) Get(key int32) *GameDrawWeigthData {
return table._dataMap[key]
}

View File

@ -183,7 +183,7 @@ type Tables struct {
PhotoAction *GamePhotoAction
PhotoFilter *GamePhotoFilter
DrawPool *GameDrawPool
DrawWeigth *GameDrawWeigth
DrawWeight *GameDrawWeight
}
func NewTables(loader JsonLoader) (*Tables, error) {
@ -1223,10 +1223,10 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.DrawPool, err = NewGameDrawPool(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_drawweigth") ; err != nil {
if buf, err = loader("game_drawweight") ; err != nil {
return nil, err
}
if tables.DrawWeigth, err = NewGameDrawWeigth(buf) ; err != nil {
if tables.DrawWeight, err = NewGameDrawWeight(buf) ; err != nil {
return nil, err
}
return tables, nil