feat(config): add defense-related buffs and corresponding skills

新增破甲debuff、防御强化和防御爆发两种增益buff,同时添加对应的团队支持技能:
1. 7008破甲debuff降低目标50%防御持续5秒
2. 7023防御强化提升50防御持续10秒
3. 7024防御爆发提升100防御持续5秒
4. 新增6412防御强化技能和6513防御爆发技能
This commit is contained in:
pan
2026-08-17 10:43:03 +08:00
parent e46865f216
commit 972f40f766
2 changed files with 32 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ export const DEBUFF_ICON_MAP: Record<number, DebuffIcon> = {
7005: DebuffIcon.Poison, // 中毒
7006: DebuffIcon.AttackDebuff, // 减攻
7007: DebuffIcon.Blood, // 出血
7008: DebuffIcon.Penetration, // 破甲
};
/** 易伤 buff 的 idHeroAtkSystem 结算时按此 id 汇总易伤值) */
@@ -127,6 +128,13 @@ export const BuffList: Record<number, BuffConfig> = {
modifiers: [{ attr: Attrs.ap, op: ModOp.PercentAdd, value: -10 }],
info: "攻击力降低 10%,持续 5 秒",
},
// 破甲(降低目标防御值,防御按加法模型累加,由 getFinalDefense 结算)
7008: {
id: 7008, name: "破甲", icon: "Stat_DefenseBreak",
category: BuffCategory.Debuff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.defense, op: ModOp.PercentAdd, value: -50 }],
info: "防御降低 50持续 5 秒",
},
// 出血(每层使目标被暴击率 +1%,微量伤害 DoT暴击率加成由 HeroAtkSystem 按 BLEED_BUFF_ID 层数结算)
7007: {
id: 7007, name: "出血", icon: "Stat_Blood",
@@ -220,4 +228,18 @@ export const BuffList: Record<number, BuffConfig> = {
modifiers: [{ attr: Attrs.puncture_dmg_bonus, op: ModOp.PercentAdd, value: 30 }],
info: "穿透后伤害提升 30%,持续 5 秒",
},
// 防御强化(限时,按加法模型累加固定值,由 getFinalDefense 结算)
7023: {
id: 7023, name: "防御强化", icon: "Stat_Defense",
category: BuffCategory.Buff, duration: 10, max_stack: 0,
modifiers: [{ attr: Attrs.defense, op: ModOp.PercentAdd, value: 50 }],
info: "防御提升 50持续 10 秒",
},
// 防御爆发(限时,药水用,统一 5s
7024: {
id: 7024, name: "防御爆发", icon: "Stat_Defense",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.defense, op: ModOp.PercentAdd, value: 100 }],
info: "防御提升 100持续 5 秒",
},
};

View File

@@ -427,6 +427,11 @@ export const SkillSet: Record<number, SkillConfig> = {
DTType: DTType.single, kind: SkillKind.Support, ap: 10, hit_count: 1, hitcd: 0.2, speed: 720, with: 0, ready: 0.2, EAnm: 0, DAnm: "", IType: IType.support,
RType: RType.fixed, EType: EType.animationEnd, buff_type: Attrs.puncture_dmg_bonus, info: "全体友方穿透后伤害提升10%, 永久生效",
},
6412: {
uuid: 6412, name: "防御强化", sp_name: "buff_wind", icon: "Stat_Defense", TGroup: TGroup.Team, readyAnm: "up_blue", endAnm: "", act: "atk",
DTType: DTType.single, kind: SkillKind.Support, ap: 50, hit_count: 1, hitcd: 0.2, speed: 720, with: 0, ready: 0.2, EAnm: 0, DAnm: "", IType: IType.support,
RType: RType.fixed, EType: EType.animationEnd, buff_type: Attrs.defense, info: "全体友方防御提升50点, 持续1次",
},
6501: {
uuid: 6501, name: "复活", sp_name: "buff_wind", icon: "Stat_HolyDamage", TGroup: TGroup.Self, readyAnm: "up_ap", endAnm: "", act: "atk",
DTType: DTType.single, kind: SkillKind.Support, ap: 50, hit_count: 3, hitcd: 0.2, speed: 720, with: 0, ready: 0.2, EAnm: 0, DAnm: "", IType: IType.support,
@@ -489,6 +494,11 @@ export const SkillSet: Record<number, SkillConfig> = {
uuid: 6512, name: "穿透伤害爆发", sp_name: "buff_wind", icon: "Stat_Tripleshot", TGroup: TGroup.Team, readyAnm: "up_ap", endAnm: "", act: "atk",
DTType: DTType.single, kind: SkillKind.Support, ap: 0, hit_count: 3, hitcd: 0.2, speed: 720, with: 0, ready: 0.2, EAnm: 0, DAnm: "", IType: IType.support,
RType: RType.fixed, EType: EType.animationEnd, buff_type: Attrs.puncture_dmg_bonus, timed_buff_id: 7022, info: "全体友方穿透后伤害提升30%, 持续5秒",
},
6513: {
uuid: 6513, name: "防御爆发", sp_name: "buff_wind", icon: "Stat_Defense", TGroup: TGroup.Team, readyAnm: "up_blue", endAnm: "", act: "atk",
DTType: DTType.single, kind: SkillKind.Support, ap: 0, hit_count: 3, hitcd: 0.2, speed: 720, with: 0, ready: 0.2, EAnm: 0, DAnm: "", IType: IType.support,
RType: RType.fixed, EType: EType.animationEnd, buff_type: Attrs.defense, timed_buff_id: 7024, info: "全体友方防御提升100点, 持续5秒",
}
};