From 865523471d731d5dbc09349c5b0f9b04a7e20a14 Mon Sep 17 00:00:00 2001 From: panFD Date: Sun, 2 Aug 2026 16:32:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E4=BF=AE=E6=AD=A3buff=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=8E=E6=8A=80=E8=83=BD=E3=80=81=E8=8B=B1=E9=9B=84?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0=E4=B8=8D=E4=B8=80=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增限时暴伤强化buff 7020 2. 批量更新技能配置,替换原有单次buff为限时buff并关联对应id 3. 修改英雄技能数值与描述,调整全队目标范围与buff生效逻辑 4. 更新英雄技能描述文本,修正效果说明与实际逻辑匹配 --- assets/script/game/common/config/BuffSet.ts | 7 +++++ assets/script/game/common/config/SkillSet.ts | 10 +++--- assets/script/game/common/config/heroSet.ts | 32 ++++++++++---------- 3 files changed, 28 insertions(+), 21 deletions(-) diff --git a/assets/script/game/common/config/BuffSet.ts b/assets/script/game/common/config/BuffSet.ts index 50f98eb7..037510c9 100644 --- a/assets/script/game/common/config/BuffSet.ts +++ b/assets/script/game/common/config/BuffSet.ts @@ -153,4 +153,11 @@ export const BuffList: Record = { modifiers: [{ attr: Attrs.freeze_res, op: ModOp.Flat, value: 50 }], info: "冰冻抗性提升 50%,持续 5 秒", }, + // 暴伤强化(限时) + 7020: { + id: 7020, name: "暴伤爆发", icon: "Stat_Critical_01", + category: BuffCategory.Buff, duration: 5, max_stack: 1, + modifiers: [{ attr: Attrs.critical_damage, op: ModOp.Flat, value: 30 }], + info: "暴击伤害提升 30%,持续 5 秒", + }, }; diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index 4ad493aa..cd7d7104 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -345,17 +345,17 @@ export const SkillSet: Record = { 6403: { uuid: 6403, name: "暴击强化", sp_name: "buff_wind", icon: "Stat_CriticalChance_02", TGroup: TGroup.Team, readyAnm: "up_ap", endAnm: "", act: "atk", DTType: DTType.single, kind: SkillKind.Support, ap: 1, 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.critical, info: "全体友方暴击率提升10%,持续1次", + RType: RType.fixed, EType: EType.animationEnd, buff_type: Attrs.critical, timed_buff_id: 7012, info: "全体友方暴击率限时提升,持续5秒", }, 6404: { uuid: 6404, name: "暴伤强化", sp_name: "buff_wind", icon: "Stat_Critical_01", TGroup: TGroup.Team, readyAnm: "up_ap", endAnm: "", act: "atk", DTType: DTType.single, kind: SkillKind.Support, ap: 1, 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.critical_damage, info: "全体友方暴击伤害提升20%,持续1次", + RType: RType.fixed, EType: EType.animationEnd, buff_type: Attrs.critical_damage, timed_buff_id: 7020, info: "全体友方暴击伤害限时提升,持续5秒", }, 6405: { uuid: 6405, name: "击晕强化", sp_name: "buff_wind", icon: "Stat_Stun_01", TGroup: TGroup.Team, readyAnm: "up_blue", endAnm: "", act: "atk", DTType: DTType.single, kind: SkillKind.Support, ap: 1, 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.stun_chance, info: "全体友方击晕概率提升10%,持续1次", + RType: RType.fixed, EType: EType.animationEnd, buff_type: Attrs.stun_chance, timed_buff_id: 7017, info: "全体友方击晕概率限时提升,持续5秒", }, 6406: { uuid: 6406, name: "击退强化", sp_name: "buff_wind", icon: "Stat_Stun_01", TGroup: TGroup.Team, readyAnm: "up_blue", endAnm: "", act: "atk", @@ -370,12 +370,12 @@ export const SkillSet: Record = { 6408: { uuid: 6408, name: "穿刺强化", sp_name: "buff_wind", icon: "Stat_Tripleshot", TGroup: TGroup.Team, readyAnm: "up_ap", endAnm: "", act: "atk", DTType: DTType.single, kind: SkillKind.Support, ap: 20, 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_chance, info: "全体友方穿透概率提升20%,持续1次", + RType: RType.fixed, EType: EType.animationEnd, buff_type: Attrs.puncture_chance, timed_buff_id: 7014, info: "全体友方穿透概率限时提升,持续5秒", }, 6409: { uuid: 6409, name: "风怒强化", sp_name: "buff_wind", icon: "Stat_CriticalComboChance", TGroup: TGroup.Team, readyAnm: "up_ap", endAnm: "", act: "atk", DTType: DTType.single, kind: SkillKind.Support, ap: 1, 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.wfuny, info: "全体友方风怒次数提升1次,持续1次", + RType: RType.fixed, EType: EType.animationEnd, buff_type: Attrs.wfuny, timed_buff_id: 7016, info: "全体友方风怒概率限时提升,持续5秒", }, 6501: { uuid: 6501, name: "复活", sp_name: "buff_wind", icon: "Stat_HolyDamage", TGroup: TGroup.Self, readyAnm: "up_ap", endAnm: "", act: "atk", diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index ecda15f9..3b224690 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -239,11 +239,11 @@ export const HeroInfo: Record = { 6: { atked: [ { s_uuid: 6301, t_num: 3, overrides: { TGroup: TGroup.Self, ap: 6 } }, - { s_uuid: 6302, t_num: 5, overrides: { TGroup: TGroup.Self, ap: 250 } }, + { s_uuid: 6302, t_num: 5, overrides: { TGroup: TGroup.All, ap: 250 } }, ] }, }, - info: "✧受伤获得护盾\n✦受伤恢复生命", + info: "✧受伤获得护盾\n✦受伤全队恢复生命", }, 5012: { uuid: 5012, name: "不死小强", path: "hk2", fac: FacSet.HERO, card_lv: 2, lv: 1, type: HType.Melee, hp: 600, ap: 57, @@ -257,11 +257,11 @@ export const HeroInfo: Record = { 6: { atked: [ { s_uuid: 6302, t_num: 2, overrides: { TGroup: TGroup.Self, ap: 350 } }, - { s_uuid: 6301, t_num: 5, overrides: { TGroup: TGroup.Self, ap: 4 } }, + { s_uuid: 6301, t_num: 5, overrides: { TGroup: TGroup.All, ap: 4 } }, ] }, }, - info: "✧受伤恢复生命\n✦受伤获得护盾", + info: "✧受伤恢复生命\n✦受伤全体获得护盾", }, // 以下英雄暂时注释,保留待后续扩展 // 5012:{uuid:5012,name:"不死小强",path:"hk2", fac:FacSet.HERO,card_lv:2,lv:1,type:HType.Melee,hp:600,ap:57, @@ -295,22 +295,22 @@ export const HeroInfo: Record = { 5021: { uuid: 5021, name: "小刺客", path: "hc1", fac: FacSet.HERO, card_lv: 1, lv: 1, type: HType.Melee, hp: 300, ap: 28, skills: { 6001: { uuid: 6001, lv: 1, cd: AtkSpeedSet[AtkSpeedLv.Fast2].cd, ccd: 0 } }, - atking: [{ s_uuid: 6401, t_num: 5, overrides: { TGroup: TGroup.Self, ap: 8 } }], - // 成长主线:滚雪球(AP增量8→10→12,5级阈值5→4刀);6级追加暴伤强化(永久叠加无100%上限,与高AP叠乘) + atking: [{ s_uuid: 6401, t_num: 5, overrides: { TGroup: TGroup.Self, ap: 1 } }], + // 成长主线:滚雪球(AP增量固定1,5级阈值5→4刀);6级追加暴伤强化(永久叠加无100%上限,与高AP叠乘) // 注意:evolve.atking 为整体替换且逐级顺序应用,高级别需写完整数组 evolve: { - 2: { atking: [{ s_uuid: 6401, t_num: 5, overrides: { TGroup: TGroup.Self, ap: 10 } }] }, + 2: { atking: [{ s_uuid: 6401, t_num: 5, overrides: { TGroup: TGroup.Self, ap: 1 } }] }, 3: { ap_bonus: 20, hp_bonus: 80 }, - 4: { atking: [{ s_uuid: 6401, t_num: 5, overrides: { TGroup: TGroup.Self, ap: 12 } }] }, - 5: { atking: [{ s_uuid: 6401, t_num: 4, overrides: { TGroup: TGroup.Self, ap: 12 } }] }, + 4: { atking: [{ s_uuid: 6401, t_num: 5, overrides: { TGroup: TGroup.Self, ap: 1 } }] }, + 5: { atking: [{ s_uuid: 6401, t_num: 4, overrides: { TGroup: TGroup.Self, ap: 1 } }] }, 6: { atking: [ - { s_uuid: 6401, t_num: 4, overrides: { TGroup: TGroup.Self, ap: 12 } }, - { s_uuid: 6404, t_num: 7, overrides: { TGroup: TGroup.Self, ap: 20 } }, + { s_uuid: 6401, t_num: 4, overrides: { TGroup: TGroup.Self, ap: 1 } }, + { s_uuid: 6404, t_num: 7, overrides: { TGroup: TGroup.Self, timed_buff_id: 7020, buff_value: 20, buff_duration: 5 } }, ] }, }, - info: "✧攻击永久提升攻击\n✦攻击永久提升暴伤", + info: "✧攻击永久提升攻击\n✦攻击限时提升暴伤", }, 5022: { uuid: 5022, name: "嗜血剑客", path: "hc2", fac: FacSet.HERO, card_lv: 3, lv: 1, type: HType.Melee, hp: 900, ap: 85, @@ -343,11 +343,11 @@ export const HeroInfo: Record = { atking: [ { s_uuid: 6403, t_num: 4, overrides: { TGroup: TGroup.Self, hit_count: 1, timed_buff_id: 7012, buff_value: 20, buff_duration: 6 } }, { s_uuid: 6401, t_num: 7, overrides: { TGroup: TGroup.Self, ap: 15 } }, - { s_uuid: 6404, t_num: 7, overrides: { TGroup: TGroup.Self, ap: 15 } }, + { s_uuid: 6404, t_num: 7, overrides: { TGroup: TGroup.Self, timed_buff_id: 7020, buff_value: 15, buff_duration: 5 } }, ] }, }, - info: "✧攻击提升暴击攻击\n✦攻击永久提升暴伤", + info: "✧攻击提升暴击攻击\n✦攻击限时提升暴伤", }, // 5022: { // uuid: 5022, name: "嗜血剑客", path: "hc2", fac: FacSet.HERO, card_lv: 3, lv: 1, type: HType.Melee, hp: 900, ap: 85, @@ -396,11 +396,11 @@ export const HeroInfo: Record = { 6: { atking: [ { s_uuid: 6403, t_num: 4, overrides: { TGroup: TGroup.Team, hit_count: 4, timed_buff_id: 7012, buff_value: 12, buff_duration: 6 } }, - { s_uuid: 6404, t_num: 7, overrides: { TGroup: TGroup.Team, hit_count: 3, ap: 12 } }, + { s_uuid: 6404, t_num: 7, overrides: { TGroup: TGroup.Team, hit_count: 3, timed_buff_id: 7020, buff_value: 12, buff_duration: 5 } }, ] }, }, - info: "✧攻击提升队友暴击\n✦攻击提升队友暴伤", + info: "✧攻击提升队友暴击\n✦攻击限时提升队友暴伤", }, // 5032: { // uuid: 5032, name: "战术弓手", path: "ha2", fac: FacSet.HERO, card_lv: 3, lv: 1, type: HType.Long, hp: 430, ap: 120,