refactor(fight): 重构战斗效果和技能初始化逻辑
- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
112
public/seer_data-main/resource/config/json/dailytask_gift.json
Normal file
112
public/seer_data-main/resource/config/json/dailytask_gift.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "每日0点活跃奖励",
|
||||
"type": 1,
|
||||
"activity": 0,
|
||||
"icon": 1,
|
||||
"rewardinfo": "1_1400352_20000;1_1706927_1;1_1706928_1",
|
||||
"diamond": 0
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "每日20点活跃奖励",
|
||||
"type": 1,
|
||||
"activity": 20,
|
||||
"icon": 1,
|
||||
"rewardinfo": "1_1400352_20000;1_1706927_2;1_1706928_2",
|
||||
"diamond": 0
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "每日40点活跃奖励",
|
||||
"type": 1,
|
||||
"activity": 40,
|
||||
"icon": 1,
|
||||
"rewardinfo": "1_1400352_30000;1_1706927_3;1_1706928_3",
|
||||
"diamond": 0
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "每日60点活跃奖励",
|
||||
"type": 1,
|
||||
"activity": 60,
|
||||
"icon": 2,
|
||||
"rewardinfo": "1_1400352_40000;1_1706927_4;1_1706928_4",
|
||||
"diamond": 2
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "每日80点活跃奖励",
|
||||
"type": 1,
|
||||
"activity": 80,
|
||||
"icon": 2,
|
||||
"rewardinfo": "1_1400352_50000;1_1706927_5;1_1706928_5",
|
||||
"diamond": 0
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "每日100点活跃奖励",
|
||||
"type": 1,
|
||||
"activity": 100,
|
||||
"icon": 3,
|
||||
"rewardinfo": "1_1400352_60000;1_1706927_6;1_1706928_6",
|
||||
"diamond": 2
|
||||
},
|
||||
{
|
||||
"id": 101,
|
||||
"name": "每周0点活跃奖励",
|
||||
"type": 2,
|
||||
"activity": 0,
|
||||
"icon": 1,
|
||||
"rewardinfo": "1_1706927_20;1_1706928_20;1_1400352_100000",
|
||||
"diamond": 0
|
||||
},
|
||||
{
|
||||
"id": 102,
|
||||
"name": "每周40点活跃奖励",
|
||||
"type": 2,
|
||||
"activity": 40,
|
||||
"icon": 1,
|
||||
"rewardinfo": "1_1706927_45;1_1706928_45;1_1400352_100000",
|
||||
"diamond": 0
|
||||
},
|
||||
{
|
||||
"id": 103,
|
||||
"name": "每周80点活跃奖励",
|
||||
"type": 2,
|
||||
"activity": 80,
|
||||
"icon": 1,
|
||||
"rewardinfo": "1_300655_4;1_1706826_1;1_1400352_200000",
|
||||
"diamond": 0
|
||||
},
|
||||
{
|
||||
"id": 104,
|
||||
"name": "每周120点活跃奖励",
|
||||
"type": 2,
|
||||
"activity": 120,
|
||||
"icon": 2,
|
||||
"rewardinfo": "1_1706925_1;1_1706924_1;1_1400352_300000",
|
||||
"diamond": 0
|
||||
},
|
||||
{
|
||||
"id": 105,
|
||||
"name": "每周160点活跃奖励",
|
||||
"type": 2,
|
||||
"activity": 160,
|
||||
"icon": 2,
|
||||
"rewardinfo": "1_1706826_2;1_1706924_2;1_1400352_400000",
|
||||
"diamond": 0
|
||||
},
|
||||
{
|
||||
"id": 106,
|
||||
"name": "每周200点活跃奖励",
|
||||
"type": 2,
|
||||
"activity": 200,
|
||||
"icon": 3,
|
||||
"rewardinfo": "1_1706925_2;1_1706926_1",
|
||||
"diamond": 11
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user