refactor(fight): 重构战斗效果和技能初始化逻辑
- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
46
public/seer_data-main/resource/config/json/newBraveLv.json
Normal file
46
public/seer_data-main/resource/config/json/newBraveLv.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 101,
|
||||
"stepnum": 3,
|
||||
"stepname": "阶段1-1;阶段1-2;获得谱尼",
|
||||
"storehouse": "100"
|
||||
},
|
||||
{
|
||||
"id": 102,
|
||||
"stepnum": 3,
|
||||
"stepname": "阶段2-1;阶段2-2;阶段提升",
|
||||
"storehouse": "110"
|
||||
},
|
||||
{
|
||||
"id": 103,
|
||||
"stepnum": 4,
|
||||
"stepname": "阶段3-1;阶段3-2;阶段3-3;阶段提升",
|
||||
"storehouse": "120"
|
||||
},
|
||||
{
|
||||
"id": 104,
|
||||
"stepnum": 4,
|
||||
"stepname": "阶段4-1;阶段4-2;阶段4-3;阶段提升",
|
||||
"storehouse": "140"
|
||||
},
|
||||
{
|
||||
"id": 105,
|
||||
"stepnum": 4,
|
||||
"stepname": "阶段5-1;阶段5-2;阶段5-3;阶段提升",
|
||||
"storehouse": "160"
|
||||
},
|
||||
{
|
||||
"id": 106,
|
||||
"stepnum": 4,
|
||||
"stepname": "阶段6-1;阶段6-2;阶段6-3;圣灵进阶",
|
||||
"storehouse": "180"
|
||||
},
|
||||
{
|
||||
"id": 107,
|
||||
"stepnum": 2,
|
||||
"stepname": "阶段7-1;完全进化",
|
||||
"storehouse": "200"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user