From 972f40f766e469c7999de106d6970d3f270db651 Mon Sep 17 00:00:00 2001 From: pan Date: Mon, 17 Aug 2026 10:43:03 +0800 Subject: [PATCH] feat(config): add defense-related buffs and corresponding skills MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增破甲debuff、防御强化和防御爆发两种增益buff,同时添加对应的团队支持技能: 1. 7008破甲debuff降低目标50%防御持续5秒 2. 7023防御强化提升50防御持续10秒 3. 7024防御爆发提升100防御持续5秒 4. 新增6412防御强化技能和6513防御爆发技能 --- assets/script/game/common/config/BuffSet.ts | 22 ++++++++++++++++++++ assets/script/game/common/config/SkillSet.ts | 10 +++++++++ 2 files changed, 32 insertions(+) diff --git a/assets/script/game/common/config/BuffSet.ts b/assets/script/game/common/config/BuffSet.ts index 2c682b56..02b8de42 100644 --- a/assets/script/game/common/config/BuffSet.ts +++ b/assets/script/game/common/config/BuffSet.ts @@ -58,6 +58,7 @@ export const DEBUFF_ICON_MAP: Record = { 7005: DebuffIcon.Poison, // 中毒 7006: DebuffIcon.AttackDebuff, // 减攻 7007: DebuffIcon.Blood, // 出血 + 7008: DebuffIcon.Penetration, // 破甲 }; /** 易伤 buff 的 id(HeroAtkSystem 结算时按此 id 汇总易伤值) */ @@ -127,6 +128,13 @@ export const BuffList: Record = { 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 = { 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 秒", + }, }; diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index f13ce92e..000eb114 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -427,6 +427,11 @@ export const SkillSet: Record = { 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 = { 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秒", } };