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,67 @@
{
"data": [
{
"id": 1,
"productID": 251922,
"itemID": 1714959,
"Discountprice": 298,
"limittype": 4,
"usenew": 0,
"exchangeId": 0
},
{
"id": 2,
"productID": 247680,
"itemID": 1709505,
"Discountprice": 328,
"limittype": 2,
"usenew": 0,
"exchangeId": 0
},
{
"id": 3,
"productID": 247681,
"itemID": 1709506,
"Discountprice": 98,
"limittype": 2,
"usenew": 0,
"exchangeId": 0
},
{
"id": 4,
"productID": 258785,
"itemID": 1723633,
"Discountprice": 98,
"limittype": 1,
"usenew": 0,
"exchangeId": 0
},
{
"id": 5,
"productID": 247483,
"itemID": 1709277,
"Discountprice": 98,
"limittype": 2,
"usenew": 0,
"exchangeId": 0
},
{
"id": 6,
"productID": 0,
"itemID": 2301008,
"Discountprice": 0,
"limittype": 1,
"usenew": 0,
"exchangeId": 1
},
{
"id": 7,
"productID": 0,
"itemID": 2301010,
"Discountprice": 0,
"limittype": 2,
"usenew": 0,
"exchangeId": 2
}
]
}