- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
676 lines
19 KiB
Go
676 lines
19 KiB
Go
{
|
|
"root": {
|
|
"titanlode": [
|
|
{
|
|
"ID": 1,
|
|
"mode": 1,
|
|
"step": 1,
|
|
"cltboss": "2536 2281",
|
|
"sebossid": 17577,
|
|
"passtype": 1,
|
|
"passarg": 1,
|
|
"bsrewardid": 1,
|
|
"exrewardid": "2|3|4|5"
|
|
},
|
|
{
|
|
"ID": 2,
|
|
"mode": 1,
|
|
"step": 2,
|
|
"cltboss": 3384,
|
|
"sebossid": 18466,
|
|
"passtype": 2,
|
|
"passarg": "15 6",
|
|
"bsrewardid": 6,
|
|
"exrewardid": "7|8|9|10"
|
|
},
|
|
{
|
|
"ID": 3,
|
|
"mode": 1,
|
|
"step": 3,
|
|
"passtype": 3,
|
|
"passarg": 25,
|
|
"mapid": 1,
|
|
"desc": "第三阶段"
|
|
},
|
|
{
|
|
"ID": 4,
|
|
"mode": 1,
|
|
"step": 4,
|
|
"cltboss": 3448,
|
|
"sebossid": 17579,
|
|
"passtype": 4,
|
|
"passarg": 10,
|
|
"bsrewardid": 11,
|
|
"exrewardid": "12|13|14"
|
|
},
|
|
{
|
|
"ID": 5,
|
|
"mode": 2,
|
|
"step": 1,
|
|
"cltboss": "2536 2281",
|
|
"sebossid": 17580,
|
|
"passtype": 1,
|
|
"passarg": 1,
|
|
"bsrewardid": 15,
|
|
"exrewardid": "16|17|18|19"
|
|
},
|
|
{
|
|
"ID": 6,
|
|
"mode": 2,
|
|
"step": 2,
|
|
"cltboss": 3384,
|
|
"sebossid": 18467,
|
|
"passtype": 2,
|
|
"passarg": "12 6",
|
|
"bsrewardid": 20,
|
|
"exrewardid": "21|22|23|24"
|
|
},
|
|
{
|
|
"ID": 7,
|
|
"mode": 2,
|
|
"step": 3,
|
|
"passtype": 3,
|
|
"passarg": 35,
|
|
"mapid": 2,
|
|
"desc": "第三阶段"
|
|
},
|
|
{
|
|
"ID": 8,
|
|
"mode": 2,
|
|
"step": 4,
|
|
"cltboss": 3448,
|
|
"sebossid": 17582,
|
|
"passtype": 4,
|
|
"passarg": 10,
|
|
"bsrewardid": 25,
|
|
"exrewardid": "26|27|28|29"
|
|
},
|
|
{
|
|
"ID": 9,
|
|
"mode": 3,
|
|
"step": 1,
|
|
"cltboss": "2536 2281",
|
|
"sebossid": 17583,
|
|
"passtype": 1,
|
|
"passarg": 1,
|
|
"bsrewardid": 30,
|
|
"exrewardid": "31|32|33|34"
|
|
},
|
|
{
|
|
"ID": 10,
|
|
"mode": 3,
|
|
"step": 2,
|
|
"cltboss": 3384,
|
|
"sebossid": 18468,
|
|
"passtype": 2,
|
|
"passarg": "9 6",
|
|
"bsrewardid": 35,
|
|
"exrewardid": "36|37|38|39"
|
|
},
|
|
{
|
|
"ID": 11,
|
|
"mode": 3,
|
|
"step": 3,
|
|
"passtype": 3,
|
|
"passarg": 48,
|
|
"mapid": 3,
|
|
"desc": "第三阶段"
|
|
},
|
|
{
|
|
"ID": 12,
|
|
"mode": 3,
|
|
"step": 4,
|
|
"cltboss": 3448,
|
|
"sebossid": 17585,
|
|
"passtype": 4,
|
|
"passarg": 10,
|
|
"bsrewardid": 40,
|
|
"exrewardid": "41|42|43|44"
|
|
}
|
|
],
|
|
"map": [
|
|
{
|
|
"Show": [
|
|
{
|
|
"id": 1,
|
|
"randomcnt": 14,
|
|
"rewardid": 45
|
|
},
|
|
{
|
|
"id": 2,
|
|
"randomcnt": 1,
|
|
"rewardid": 46
|
|
},
|
|
{
|
|
"id": 3,
|
|
"randomcnt": 1,
|
|
"rewardid": 47
|
|
},
|
|
{
|
|
"id": 4,
|
|
"randomcnt": 1,
|
|
"rewardid": 48
|
|
},
|
|
{
|
|
"id": 5,
|
|
"randomcnt": 1,
|
|
"rewardid": 49
|
|
},
|
|
{
|
|
"id": 6,
|
|
"randomcnt": 1,
|
|
"rewardid": 50
|
|
}
|
|
],
|
|
"id": 1,
|
|
"maxcnt": 30,
|
|
"colcnt": 6
|
|
},
|
|
{
|
|
"Show": [
|
|
{
|
|
"id": 1,
|
|
"randomcnt": 22,
|
|
"rewardid": 51
|
|
},
|
|
{
|
|
"id": 2,
|
|
"randomcnt": 2,
|
|
"rewardid": 52
|
|
},
|
|
{
|
|
"id": 3,
|
|
"randomcnt": 1,
|
|
"rewardid": 53
|
|
},
|
|
{
|
|
"id": 4,
|
|
"randomcnt": 1,
|
|
"rewardid": 54
|
|
},
|
|
{
|
|
"id": 5,
|
|
"randomcnt": 1,
|
|
"rewardid": 55
|
|
},
|
|
{
|
|
"id": 6,
|
|
"randomcnt": 1,
|
|
"rewardid": 56
|
|
},
|
|
{
|
|
"id": 7,
|
|
"randomcnt": 1,
|
|
"rewardid": 57
|
|
},
|
|
{
|
|
"id": 8,
|
|
"randomcnt": 1,
|
|
"rewardid": 58
|
|
}
|
|
],
|
|
"id": 2,
|
|
"maxcnt": 40,
|
|
"colcnt": 8
|
|
},
|
|
{
|
|
"Show": [
|
|
{
|
|
"id": 1,
|
|
"randomcnt": 28,
|
|
"rewardid": 59
|
|
},
|
|
{
|
|
"id": 2,
|
|
"randomcnt": 2,
|
|
"rewardid": 60
|
|
},
|
|
{
|
|
"id": 3,
|
|
"randomcnt": 2,
|
|
"rewardid": 61
|
|
},
|
|
{
|
|
"id": 4,
|
|
"randomcnt": 2,
|
|
"rewardid": 62
|
|
},
|
|
{
|
|
"id": 5,
|
|
"randomcnt": 2,
|
|
"rewardid": 63
|
|
},
|
|
{
|
|
"id": 6,
|
|
"randomcnt": 2,
|
|
"rewardid": 64
|
|
},
|
|
{
|
|
"id": 7,
|
|
"randomcnt": 2,
|
|
"rewardid": 65
|
|
},
|
|
{
|
|
"id": 8,
|
|
"randomcnt": 2,
|
|
"rewardid": 66
|
|
},
|
|
{
|
|
"id": 9,
|
|
"randomcnt": 2,
|
|
"rewardid": 67
|
|
}
|
|
],
|
|
"id": 3,
|
|
"maxcnt": 55,
|
|
"colcnt": 11
|
|
}
|
|
],
|
|
"rewards": {
|
|
"reward": [
|
|
{
|
|
"id": 1,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 160000
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": 2,
|
|
"realid": 40911,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": 2,
|
|
"realid": 40914,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": 2,
|
|
"realid": 40999,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": 2,
|
|
"realid": 41000,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 40000
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": 2,
|
|
"realid": 41793,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": 2,
|
|
"realid": 41794,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": 2,
|
|
"realid": 41795,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": 2,
|
|
"realid": 41796,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 220000
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": 2,
|
|
"realid": 40912,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": 2,
|
|
"realid": 40915,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": 2,
|
|
"realid": 40918,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 200000
|
|
},
|
|
{
|
|
"id": 16,
|
|
"type": 2,
|
|
"realid": 40910,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 17,
|
|
"type": 2,
|
|
"realid": 40913,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 18,
|
|
"type": 2,
|
|
"realid": 40997,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 19,
|
|
"type": 2,
|
|
"realid": 40998,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 20,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 60000
|
|
},
|
|
{
|
|
"id": 21,
|
|
"type": 2,
|
|
"realid": 40922,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 22,
|
|
"type": 2,
|
|
"realid": 40923,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 23,
|
|
"type": 2,
|
|
"realid": 40924,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 24,
|
|
"type": 2,
|
|
"realid": 40925,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 25,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 300000
|
|
},
|
|
{
|
|
"id": 26,
|
|
"type": 2,
|
|
"realid": 40802,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 27,
|
|
"type": 2,
|
|
"realid": 40803,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 28,
|
|
"type": 2,
|
|
"realid": 40804,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 29,
|
|
"type": 2,
|
|
"realid": 40805,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 30,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 240000
|
|
},
|
|
{
|
|
"id": 31,
|
|
"type": 2,
|
|
"realid": 40916,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 32,
|
|
"type": 2,
|
|
"realid": 40917,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 33,
|
|
"type": 2,
|
|
"realid": 40919,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 34,
|
|
"type": 2,
|
|
"realid": 40920,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 35,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 80000
|
|
},
|
|
{
|
|
"id": 36,
|
|
"type": 2,
|
|
"realid": 41050,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 37,
|
|
"type": 2,
|
|
"realid": 41051,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 38,
|
|
"type": 2,
|
|
"realid": 41052,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 39,
|
|
"type": 2,
|
|
"realid": 41053,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 40,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 400000
|
|
},
|
|
{
|
|
"id": 41,
|
|
"type": 2,
|
|
"realid": 40861,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 42,
|
|
"type": 2,
|
|
"realid": 40862,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 43,
|
|
"type": 2,
|
|
"realid": 40863,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 44,
|
|
"type": 2,
|
|
"realid": 40864,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 45,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 60000
|
|
},
|
|
{
|
|
"id": 46,
|
|
"type": 1,
|
|
"realid": 1800001,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 47,
|
|
"type": 1,
|
|
"realid": 1800011,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 48,
|
|
"type": 1,
|
|
"realid": 1800021,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 49,
|
|
"type": 1,
|
|
"realid": 1800081,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 50,
|
|
"type": 1,
|
|
"realid": 1800091,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 51,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 60000
|
|
},
|
|
{
|
|
"id": 52,
|
|
"type": 1,
|
|
"realid": 1800002,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 53,
|
|
"type": 1,
|
|
"realid": 1800012,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 54,
|
|
"type": 1,
|
|
"realid": 1800022,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 55,
|
|
"type": 1,
|
|
"realid": 1800082,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 56,
|
|
"type": 1,
|
|
"realid": 1800092,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 57,
|
|
"type": 1,
|
|
"realid": 1800102,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 58,
|
|
"type": 1,
|
|
"realid": 1800112,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 59,
|
|
"type": 1,
|
|
"realid": 1400352,
|
|
"realcnt": 80000
|
|
},
|
|
{
|
|
"id": 60,
|
|
"type": 1,
|
|
"realid": 1800003,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 61,
|
|
"type": 1,
|
|
"realid": 1800013,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 62,
|
|
"type": 1,
|
|
"realid": 1800023,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 63,
|
|
"type": 1,
|
|
"realid": 1800083,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 64,
|
|
"type": 1,
|
|
"realid": 1800093,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 65,
|
|
"type": 1,
|
|
"realid": 1800103,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 66,
|
|
"type": 1,
|
|
"realid": 1800113,
|
|
"realcnt": 2
|
|
},
|
|
{
|
|
"id": 67,
|
|
"type": 1,
|
|
"realid": 1800123,
|
|
"realcnt": 2
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |