refactor(fight): 重构战斗效果和技能初始化逻辑
- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
76
public/seer_data-main/resource/config/json/Popup.json
Normal file
76
public/seer_data-main/resource/config/json/Popup.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 1,
|
||||
"num": 1,
|
||||
"pic": 1,
|
||||
"daily": 1,
|
||||
"showStart": "2025_1_10 10:00:00",
|
||||
"showEnd": "2025_1_24 10:00:00",
|
||||
"goto": "2_8"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"num": 2,
|
||||
"pic": 2,
|
||||
"daily": 0,
|
||||
"showStart": "",
|
||||
"showEnd": "",
|
||||
"goto": ""
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"num": 3,
|
||||
"pic": 3,
|
||||
"daily": 0,
|
||||
"showStart": "",
|
||||
"showEnd": "",
|
||||
"goto": ""
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"num": 4,
|
||||
"pic": 4,
|
||||
"daily": 0,
|
||||
"showStart": "",
|
||||
"showEnd": "",
|
||||
"goto": ""
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"num": 5,
|
||||
"pic": 5,
|
||||
"daily": 0,
|
||||
"showStart": "",
|
||||
"showEnd": "",
|
||||
"goto": ""
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"num": 6,
|
||||
"pic": 6,
|
||||
"daily": 0,
|
||||
"showStart": "",
|
||||
"showEnd": "",
|
||||
"goto": ""
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"num": 7,
|
||||
"pic": 7,
|
||||
"daily": 0,
|
||||
"showStart": "",
|
||||
"showEnd": "",
|
||||
"goto": ""
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"num": 8,
|
||||
"pic": 8,
|
||||
"daily": 0,
|
||||
"showStart": "",
|
||||
"showEnd": "",
|
||||
"goto": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user