refactor(fight): 重构战斗效果和技能初始化逻辑
- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
287
public/seer_data-main/resource/config/xml/travel_book.json
Normal file
287
public/seer_data-main/resource/config/xml/travel_book.json
Normal file
@@ -0,0 +1,287 @@
|
||||
{
|
||||
"_declaration": {
|
||||
"version": 1,
|
||||
"encoding": "UTF-8",
|
||||
"standalone": "yes"
|
||||
},
|
||||
"root": {
|
||||
"Shop": [
|
||||
{
|
||||
"item": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "古堡记忆·猎魔",
|
||||
"realid": 42458,
|
||||
"type": 2,
|
||||
"num": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "星际密令",
|
||||
"realid": 1723167,
|
||||
"type": 1,
|
||||
"num": 4
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "浩瀚星核",
|
||||
"realid": 1723255,
|
||||
"type": 1,
|
||||
"num": 4
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "特性重组剂Ω",
|
||||
"realid": 300065,
|
||||
"type": 1,
|
||||
"num": 4
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "轮回神石",
|
||||
"realid": 1706926,
|
||||
"type": 1,
|
||||
"num": 4
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "绿宝石",
|
||||
"realid": 1706928,
|
||||
"type": 1,
|
||||
"num": 500
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"name": "原核碎片",
|
||||
"realid": 1723855,
|
||||
"type": 1,
|
||||
"num": 200000
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"name": "悲悯神石",
|
||||
"realid": 1724952,
|
||||
"type": 1,
|
||||
"num": 2
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"name": "皮肤礼卡碎片",
|
||||
"realid": 1723117,
|
||||
"type": 1,
|
||||
"num": 10
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"name": "S级技能石",
|
||||
"realid": 300405,
|
||||
"type": 1,
|
||||
"num": 5
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"name": "精灵还原药剂Ω",
|
||||
"realid": 300075,
|
||||
"type": 1,
|
||||
"num": 10
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"name": "追忆徽章",
|
||||
"realid": 1725705,
|
||||
"type": 1,
|
||||
"num": 10
|
||||
}
|
||||
],
|
||||
"ID": 1,
|
||||
"coinid": 1725743,
|
||||
"price": 250,
|
||||
"UserInfoId": 125087
|
||||
},
|
||||
{
|
||||
"item": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "古堡记忆·蝶语",
|
||||
"realid": 42459,
|
||||
"type": 2,
|
||||
"num": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "古堡记忆·入梦",
|
||||
"realid": 42460,
|
||||
"type": 2,
|
||||
"num": 1
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "特性升星药剂",
|
||||
"realid": 300772,
|
||||
"type": 1,
|
||||
"num": 2
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "星际密令",
|
||||
"realid": 1723167,
|
||||
"type": 1,
|
||||
"num": 6
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "浩瀚星核",
|
||||
"realid": 1723255,
|
||||
"type": 1,
|
||||
"num": 6
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "特性开启晶片Ω",
|
||||
"realid": 300063,
|
||||
"type": 1,
|
||||
"num": 5
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"name": "特性重组剂Ω",
|
||||
"realid": 300065,
|
||||
"type": 1,
|
||||
"num": 5
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"name": "轮回神石",
|
||||
"realid": 1706926,
|
||||
"type": 1,
|
||||
"num": 5
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"name": "红宝石",
|
||||
"realid": 1706927,
|
||||
"type": 1,
|
||||
"num": 500
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"name": "石之砂",
|
||||
"realid": 1723854,
|
||||
"type": 1,
|
||||
"num": 5000
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"name": "悲悯神石",
|
||||
"realid": 1724952,
|
||||
"type": 1,
|
||||
"num": 3
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"name": "S级技能石",
|
||||
"realid": 300405,
|
||||
"type": 1,
|
||||
"num": 5
|
||||
}
|
||||
],
|
||||
"ID": 2,
|
||||
"coinid": 1725743,
|
||||
"price": 300,
|
||||
"UserInfoId": 125088
|
||||
},
|
||||
{
|
||||
"item": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "古堡记忆·炼狱",
|
||||
"realid": 42461,
|
||||
"type": 2,
|
||||
"num": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "古堡记忆·幻兽",
|
||||
"realid": 42462,
|
||||
"type": 2,
|
||||
"num": 1
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "通用刻印激活水晶",
|
||||
"realid": 300066,
|
||||
"type": 1,
|
||||
"num": 1
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "特性生成晶片-吸血",
|
||||
"realid": 300773,
|
||||
"type": 1,
|
||||
"num": 1
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "星际密令",
|
||||
"realid": 1723167,
|
||||
"type": 1,
|
||||
"num": 10
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "浩瀚星核",
|
||||
"realid": 1723255,
|
||||
"type": 1,
|
||||
"num": 10
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"name": "特性重组剂Ω",
|
||||
"realid": 300065,
|
||||
"type": 1,
|
||||
"num": 6
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"name": "轮回神石",
|
||||
"realid": 1706926,
|
||||
"type": 1,
|
||||
"num": 6
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"name": "石之砂",
|
||||
"realid": 1723854,
|
||||
"type": 1,
|
||||
"num": 5000
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"name": "原核碎片",
|
||||
"realid": 1723855,
|
||||
"type": 1,
|
||||
"num": 300000
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"name": "悲悯神石",
|
||||
"realid": 1724952,
|
||||
"type": 1,
|
||||
"num": 5
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"name": "皮肤礼卡碎片",
|
||||
"realid": 1723117,
|
||||
"type": 1,
|
||||
"num": 20
|
||||
}
|
||||
],
|
||||
"ID": 3,
|
||||
"coinid": 1725743,
|
||||
"price": 350,
|
||||
"UserInfoId": 125089
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user