refactor(fight): 重构战斗效果和技能初始化逻辑
- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
31
public/seer_data-main/resource/config/json/pvp_vote.json
Normal file
31
public/seer_data-main/resource/config/json/pvp_vote.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 1,
|
||||
"type": 1,
|
||||
"number": 6,
|
||||
"time": "20250801-20250806",
|
||||
"name": "5000;4732;4717;4661;4644;4622;4586;4554;4515;3788;3577;3291;4468;4745;4163;4600;3896;3507;4620;3056;3986;4126;4697;4618",
|
||||
"subkey": 20250801,
|
||||
"result": "4622;4554;4717;4515;4732;4644;3577;4661;4586;3291;5000;3788"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": 2,
|
||||
"number": 15,
|
||||
"time": "20250808-20250813",
|
||||
"name": "4745;4697;4676;4643;4635;4633;4620;4618;4605;4604;4600;4599;4510;4503;4500;4468;4421;4387;4329;4288;4275;4169;4163;4126;4002;3986;3954;3896;3670;3665;3637;3613;3507;3237;3056;2987",
|
||||
"subkey": 20250808,
|
||||
"result": "4468;4697;4620;4745;3896;3507;4126;4600;4163;4510;3986;4618;4500;3056;4643;3670;2987;4421;3613;4387;3637;3237;4288;4329"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": 0,
|
||||
"number": 3,
|
||||
"time": "20250801-20250806",
|
||||
"name": "10",
|
||||
"subkey": 20250801,
|
||||
"result": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user