refactor(fight): 重构战斗效果和技能初始化逻辑
- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
194
public/seer_data-main/resource/config/json/recharge.json
Normal file
194
public/seer_data-main/resource/config/json/recharge.json
Normal file
@@ -0,0 +1,194 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 1,
|
||||
"productID": 1101,
|
||||
"type": 1,
|
||||
"name": "VIP1个月",
|
||||
"money": 1000,
|
||||
"quantity": "1个月",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"productID": 1103,
|
||||
"type": 1,
|
||||
"name": "VIP3个月",
|
||||
"money": 3000,
|
||||
"quantity": "2个月",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"productID": 1106,
|
||||
"type": 1,
|
||||
"name": "VIP6个月",
|
||||
"money": 5000,
|
||||
"quantity": "3个月",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"productID": 1112,
|
||||
"type": 1,
|
||||
"name": "VIP12个月",
|
||||
"money": 10000,
|
||||
"quantity": "0",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"productID": 200042,
|
||||
"type": 2,
|
||||
"name": "充值10元礼包",
|
||||
"money": 1000,
|
||||
"quantity": "100",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"productID": 200043,
|
||||
"type": 2,
|
||||
"name": "充值30元礼包",
|
||||
"money": 3000,
|
||||
"quantity": "300",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"productID": 200044,
|
||||
"type": 2,
|
||||
"name": "充值50元礼包",
|
||||
"money": 5000,
|
||||
"quantity": "500",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"productID": 200045,
|
||||
"type": 2,
|
||||
"name": "充值100元礼包",
|
||||
"money": 10000,
|
||||
"quantity": "1000",
|
||||
"give": 0,
|
||||
"heat": 1
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"productID": 200046,
|
||||
"type": 2,
|
||||
"name": "充值200元礼包",
|
||||
"money": 20000,
|
||||
"quantity": "2000",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"productID": 200047,
|
||||
"type": 2,
|
||||
"name": "充值500元礼包",
|
||||
"money": 50000,
|
||||
"quantity": "5000",
|
||||
"give": 0,
|
||||
"heat": 1
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"productID": 200000,
|
||||
"type": 3,
|
||||
"name": "10钻石礼包",
|
||||
"money": 100,
|
||||
"quantity": "10",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"productID": 200001,
|
||||
"type": 3,
|
||||
"name": "100钻石礼包",
|
||||
"money": 1000,
|
||||
"quantity": "100",
|
||||
"give": 0,
|
||||
"heat": 1
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"productID": 200002,
|
||||
"type": 3,
|
||||
"name": "500钻石礼包",
|
||||
"money": 5000,
|
||||
"quantity": "500",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"productID": 40001,
|
||||
"type": 4,
|
||||
"name": "精英战令",
|
||||
"money": 6800,
|
||||
"quantity": "",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"productID": 40001,
|
||||
"type": 4,
|
||||
"name": "至尊战令",
|
||||
"money": 12800,
|
||||
"quantity": "",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"productID": 200048,
|
||||
"type": 5,
|
||||
"name": "星际密令礼包",
|
||||
"money": 600,
|
||||
"quantity": "",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"productID": 200049,
|
||||
"type": 5,
|
||||
"name": "抗性培养礼包",
|
||||
"money": 1800,
|
||||
"quantity": "",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"productID": 200050,
|
||||
"type": 5,
|
||||
"name": "精灵养成礼包",
|
||||
"money": 3000,
|
||||
"quantity": "",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"productID": 200055,
|
||||
"type": 5,
|
||||
"name": "新兵特权",
|
||||
"money": 600,
|
||||
"quantity": "",
|
||||
"give": 0,
|
||||
"heat": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user