refactor(fight): 重构战斗效果和技能初始化逻辑

- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果
- 修改技能效果的 ID,避免和普通效果 ID 冲突
- 优化战斗循环逻辑,增加战斗结束的判断条件
- 调整输入结构,移除未使用的属性和状态容器
- 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
2025-09-14 19:59:58 +08:00
parent 929b0c9006
commit 906bad9e21
617 changed files with 3615605 additions and 42 deletions

View File

@@ -0,0 +1,70 @@
{
"data": [
{
"id": 1,
"group": 1,
"type": 0,
"rewardshow": "1_1717451_100;1_1717452_20;1_300701_20"
},
{
"id": 2,
"group": 1,
"type": 1,
"rewardshow": "1_1717451_200;1_1717452_30;1_300878_10"
},
{
"id": 3,
"group": 1,
"type": 2,
"rewardshow": "1_1717451_300;1_1717452_50;1_300136_1"
},
{
"id": 4,
"group": 1,
"type": 3,
"rewardshow": "1_1717451_500;1_1717452_100;1_300772_1"
},
{
"id": 5,
"group": 1,
"type": 4,
"rewardshow": "1_1717451_1000;1_1717452_200;1_300066_1"
},
{
"id": 6,
"group": 2,
"type": 0,
"rewardshow": "1_1706926_20;1_300065_10;1_1717452_100"
},
{
"id": 7,
"group": 2,
"type": 1,
"rewardshow": "1_1724952_20;1_300065_15;1_1717452_200"
},
{
"id": 8,
"group": 2,
"type": 2,
"rewardshow": "9_152_1;1_1724952_30;1_300065_20;1_1717452_300"
},
{
"id": 9,
"group": 2,
"type": 3,
"rewardshow": "9_153_1;1_300916_1;1_300065_25;1_1717452_400"
},
{
"id": 10,
"group": 2,
"type": 4,
"rewardshow": "9_154_1;1_300917_1;1_300065_30;1_1717452_500"
},
{
"id": 11,
"group": 3,
"type": 0,
"rewardshow": "6_743_1"
}
]
}