- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
69 lines
1.7 KiB
Go
69 lines
1.7 KiB
Go
{
|
|
"data": [
|
|
{
|
|
"id": 1,
|
|
"item_id": "1706926",
|
|
"item_name": "轮回神石",
|
|
"output": 1,
|
|
"price": 50,
|
|
"limit_num": 1,
|
|
"limit_type": "1",
|
|
"visible": "",
|
|
"sorting": 4,
|
|
"UserInfoId": 16668,
|
|
"UserInfoPos": 2
|
|
},
|
|
{
|
|
"id": 2,
|
|
"item_id": "300066",
|
|
"item_name": "通用刻印激活水晶",
|
|
"output": 1,
|
|
"price": 200,
|
|
"limit_num": 1,
|
|
"limit_type": "4",
|
|
"visible": "",
|
|
"sorting": 1,
|
|
"UserInfoId": 105248,
|
|
"UserInfoPos": 0
|
|
},
|
|
{
|
|
"id": 3,
|
|
"item_id": "2500005",
|
|
"item_name": "限时·记忆作战模组",
|
|
"output": 3,
|
|
"price": 30,
|
|
"limit_num": 5,
|
|
"limit_type": "4",
|
|
"visible": "",
|
|
"sorting": 2,
|
|
"UserInfoId": 105248,
|
|
"UserInfoPos": 1
|
|
},
|
|
{
|
|
"id": 4,
|
|
"item_id": "1723855",
|
|
"item_name": "原核碎片",
|
|
"output": 10000,
|
|
"price": 30,
|
|
"limit_num": 1,
|
|
"limit_type": "1",
|
|
"visible": "",
|
|
"sorting": 5,
|
|
"UserInfoId": 16668,
|
|
"UserInfoPos": 1
|
|
},
|
|
{
|
|
"id": 5,
|
|
"item_id": "300065",
|
|
"item_name": "特性重组剂Ω",
|
|
"output": 1,
|
|
"price": 40,
|
|
"limit_num": 1,
|
|
"limit_type": "1",
|
|
"visible": "",
|
|
"sorting": 3,
|
|
"UserInfoId": 16668,
|
|
"UserInfoPos": 0
|
|
}
|
|
]
|
|
} |