- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
490 lines
13 KiB
Go
490 lines
13 KiB
Go
{
|
|
"data": [
|
|
{
|
|
"id": 1,
|
|
"GoodsID": 1,
|
|
"GoodsName": "高级BUFF礼包",
|
|
"GoodsType": 1,
|
|
"GoodsPrice": 10,
|
|
"GoodsBuffType": 1,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 2,
|
|
"GoodsID": 2,
|
|
"GoodsName": "稀有BUFF礼包",
|
|
"GoodsType": 1,
|
|
"GoodsPrice": 50,
|
|
"GoodsBuffType": 2,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 3,
|
|
"GoodsID": 3,
|
|
"GoodsName": "传奇BUFF礼包",
|
|
"GoodsType": 1,
|
|
"GoodsPrice": 100,
|
|
"GoodsBuffType": 3,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 4,
|
|
"GoodsID": 4,
|
|
"GoodsName": "翰宇星皇(援)",
|
|
"GoodsType": 2,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "3291",
|
|
"PetName": "翰宇星皇(援)",
|
|
"HP": 1785,
|
|
"Atk": 1147,
|
|
"Def": 368,
|
|
"SP_Atk": 595,
|
|
"SP_Def": 359,
|
|
"Spd": 1088,
|
|
"title": "天生免疫固定伤害和百分比伤害_先出手时100%的几率打出致命一击"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"GoodsID": 5,
|
|
"GoodsName": "天启帝君(援)",
|
|
"GoodsType": 2,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "3550",
|
|
"PetName": "天启帝君(援)",
|
|
"HP": 2167,
|
|
"Atk": 1275,
|
|
"Def": 385,
|
|
"SP_Atk": 637,
|
|
"SP_Def": 385,
|
|
"Spd": 1190,
|
|
"title": "免疫异常状态_天生免疫固定伤害和百分比伤害"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"GoodsID": 6,
|
|
"GoodsName": "混元天尊(援)",
|
|
"GoodsType": 2,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "3788",
|
|
"PetName": "混元天尊(援)",
|
|
"HP": 2040,
|
|
"Atk": 1275,
|
|
"Def": 401,
|
|
"SP_Atk": 680,
|
|
"SP_Def": 401,
|
|
"Spd": 1190,
|
|
"title": "免疫低于1000的伤害_先出手时造成伤害提升250% 后出手时造成伤害提升100%"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"GoodsID": 7,
|
|
"GoodsName": "圣光灵神(援)",
|
|
"GoodsType": 2,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "3311",
|
|
"PetName": "圣光灵神(援)",
|
|
"HP": 6375,
|
|
"Atk": 1156,
|
|
"Def": 321,
|
|
"SP_Atk": 595,
|
|
"SP_Def": 318,
|
|
"Spd": 1105,
|
|
"title": "每回合结束时恢复自身最大体力的1/4并造成等量固定伤害_受到任何攻击都会反弹伤害给对方"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"GoodsID": 8,
|
|
"GoodsName": "重生之翼(援)",
|
|
"GoodsType": 2,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "2987",
|
|
"PetName": "重生之翼(援)",
|
|
"HP": 2550,
|
|
"Atk": 1105,
|
|
"Def": 362,
|
|
"SP_Atk": 680,
|
|
"SP_Def": 362,
|
|
"Spd": 1011,
|
|
"title": "重生3次_造成的伤害提升400%"
|
|
},
|
|
{
|
|
"id": 9,
|
|
"GoodsID": 9,
|
|
"GoodsName": "弑序神罗(援)",
|
|
"GoodsType": 2,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "4169",
|
|
"PetName": "弑序神罗(援)",
|
|
"HP": 2040,
|
|
"Atk": 637,
|
|
"Def": 401,
|
|
"SP_Atk": 1317,
|
|
"SP_Def": 401,
|
|
"Spd": 1190,
|
|
"title": "免疫致命一击伤害_自身攻击有15%的几率造成10倍伤害"
|
|
},
|
|
{
|
|
"id": 10,
|
|
"GoodsID": 10,
|
|
"GoodsName": "至序圣华(援)",
|
|
"GoodsType": 2,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "4321",
|
|
"PetName": "至序圣华(援)",
|
|
"HP": 1912,
|
|
"Atk": 637,
|
|
"Def": 401,
|
|
"SP_Atk": 1275,
|
|
"SP_Def": 401,
|
|
"Spd": 1190,
|
|
"title": "攻击力提升50% 受到的伤害减少60%_每回合全属性+1"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"GoodsID": 11,
|
|
"GoodsName": "启灵元神(援)",
|
|
"GoodsType": 2,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "3986",
|
|
"PetName": "启灵元神(援)",
|
|
"HP": 2550,
|
|
"Atk": 637,
|
|
"Def": 417,
|
|
"SP_Atk": 1275,
|
|
"SP_Def": 417,
|
|
"Spd": 1190,
|
|
"title": "神话之力_自身体力每降低10%则造成的伤害提升100%"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"GoodsID": 12,
|
|
"GoodsName": "赛尔豆礼包",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 10,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_1_1000000",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 13,
|
|
"GoodsID": 13,
|
|
"GoodsName": "恢复胶囊",
|
|
"GoodsType": 4,
|
|
"GoodsPrice": 5,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "0_0_0",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 14,
|
|
"GoodsID": 14,
|
|
"GoodsName": "红宝石礼包",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_1706927_20",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 15,
|
|
"GoodsID": 15,
|
|
"GoodsName": "绿宝石礼包",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 30,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_1706928_20",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 16,
|
|
"GoodsID": 16,
|
|
"GoodsName": "悲悯神石",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 50,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_1724952_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 17,
|
|
"GoodsID": 17,
|
|
"GoodsName": "轮回神石",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 50,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_1706926_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 18,
|
|
"GoodsID": 18,
|
|
"GoodsName": "护佑神石",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 20,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_1706924_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 19,
|
|
"GoodsID": 19,
|
|
"GoodsName": "宽恕神石",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 20,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_1706925_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 20,
|
|
"GoodsID": 20,
|
|
"GoodsName": "通用刻印激活水晶",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 50,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_300066_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 21,
|
|
"GoodsID": 21,
|
|
"GoodsName": "全能性格转化剂Ω",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 50,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_300136_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 22,
|
|
"GoodsID": 22,
|
|
"GoodsName": "全能学习力注入药剂Ω",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 20,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_300670_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 23,
|
|
"GoodsID": 23,
|
|
"GoodsName": "天赋提升药剂Ω",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 20,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_300878_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 24,
|
|
"GoodsID": 24,
|
|
"GoodsName": "特性重组剂Ω",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 20,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_300065_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 25,
|
|
"GoodsID": 25,
|
|
"GoodsName": "初级体力上限提升药剂Ω",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 20,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_300021_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 26,
|
|
"GoodsID": 26,
|
|
"GoodsName": "S级技能石",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 20,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_300405_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
},
|
|
{
|
|
"id": 27,
|
|
"GoodsID": 27,
|
|
"GoodsName": "特性开启晶片Ω",
|
|
"GoodsType": 3,
|
|
"GoodsPrice": 20,
|
|
"GoodsBuffType": 0,
|
|
"rewardinfo": "1_300063_1",
|
|
"PetID": "0",
|
|
"PetName": "",
|
|
"HP": 0,
|
|
"Atk": 0,
|
|
"Def": 0,
|
|
"SP_Atk": 0,
|
|
"SP_Def": 0,
|
|
"Spd": 0,
|
|
"title": ""
|
|
}
|
|
]
|
|
} |