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,156 @@
{
"data": [
{
"id": 1,
"type": 2015,
"tab": 1,
"front": "",
"realId": "40856_86&28",
"price": "298_48"
},
{
"id": 2,
"type": 2015,
"tab": 2,
"front": "",
"realId": "190_359",
"price": "198_198"
},
{
"id": 3,
"type": 2015,
"tab": 4,
"front": "",
"realId": "2618_2638_2673_2707_2733_2770_2801_2840_2867_2908_2943_2964",
"price": "68"
},
{
"id": 4,
"type": 2016,
"tab": 1,
"front": "",
"realId": "40858_122&31",
"price": "298_48"
},
{
"id": 5,
"type": 2016,
"tab": 2,
"front": "",
"realId": "157_171",
"price": "98_198"
},
{
"id": 6,
"type": 2016,
"tab": 3,
"front": "",
"realId": "3197&2402&19956&40700",
"price": "298"
},
{
"id": 7,
"type": 2016,
"tab": 4,
"front": "",
"realId": "3000_3032_3052_3077_3103_3135_3155_3189_3219_3241_3260_3281",
"price": "78"
},
{
"id": 8,
"type": 2016,
"tab": 5,
"front": "2172_40546_122&31",
"realId": "2452_40770_126&29",
"price": "198_28_50"
},
{
"id": 9,
"type": 2017,
"tab": 1,
"front": "",
"realId": "40857_129&1",
"price": "298_98"
},
{
"id": 10,
"type": 2017,
"tab": 2,
"front": "",
"realId": "184_222",
"price": "298_98"
},
{
"id": 11,
"type": 2017,
"tab": 3,
"front": "",
"realId": "3512&2745&31507&41108_3404&2630&30937&40977",
"price": "998_598"
},
{
"id": 12,
"type": 2017,
"tab": 4,
"front": "",
"realId": "3299_3319_3331_3357_3377_3401_3413_3435_3469_3478_3500_3521",
"price": "88"
},
{
"id": 13,
"type": 2018,
"tab": 1,
"front": "",
"realId": "41473_129&32",
"price": "298_98"
},
{
"id": 14,
"type": 2018,
"tab": 2,
"front": "",
"realId": "279_295",
"price": "98_348"
},
{
"id": 15,
"type": 2018,
"tab": 3,
"front": "",
"realId": "3661&2898&32280&41281",
"price": "598"
},
{
"id": 16,
"type": 2018,
"tab": 4,
"front": "",
"realId": "3546_3569_3588_3611_3635_3658_3674_3702_3722_3738_3753_3775",
"price": "88"
},
{
"id": 17,
"type": 2019,
"tab": 1,
"front": "",
"realId": "41727_131&21",
"price": "298_98"
},
{
"id": 18,
"type": 2019,
"tab": 3,
"front": "",
"realId": "3888&3239&33416&41602",
"price": "998"
},
{
"id": 19,
"type": 2019,
"tab": 4,
"front": "",
"realId": "3795_3811_3824_3843_3863_3881_3900_3909_3930_3944_3955_3968",
"price": "98"
}
]
}