refactor(fight): 重构战斗效果和技能初始化逻辑
- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
16
public/seer_data-main/resource/config/json/LoginGift.json
Normal file
16
public/seer_data-main/resource/config/json/LoginGift.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 1,
|
||||
"drop_list": "8_127_1;1_1726848_100;6_700_1;1_1726848_100;6_702_1;1_1400152_10;1_2500003_5"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"drop_list": "1_1723854_3000;9_128_1;1_300790_5;1_300878_5"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"drop_list": "8_133_1;1_1400153_30;10_166_17;3_124421_5;9_134_1;3_124422_5;1_300748_1"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user