feat(hero&buff): 新增限时最大生命Buff与配套技能

新增7029生命爆发Buff和对应6517技能,实现限时提升最大生命功能:
1.  Buff生效时按增量等量回血,到期自动钳回血量防止溢血
2.  血条显示逻辑适配动态最大生命值变化
3.  新增血量与最终最大生命同步方法统一处理边界情况
This commit is contained in:
pan
2026-09-07 11:16:02 +08:00
parent 852976d54b
commit 922ca7318d
5 changed files with 58 additions and 3 deletions

View File

@@ -541,8 +541,12 @@ export const SkillSet: Record<number, SkillConfig> = {
uuid: 6516, name: "次级反伤", sp_name: "buff_wind", icon: "75-Shield-Stun", TGroup: TGroup.Self, readyAnm: "up_blue", endAnm: "", act: "atk",
DTType: DTType.single, kind: SkillKind.Support, ap: 0, 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, info: "次级反伤技能,效果由引用处 overrides 注入",
},
6517: {
uuid: 6517, name: "生命爆发", sp_name: "buff_wind", icon: "29-Endure", TGroup: TGroup.Team, readyAnm: "up_green", 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.hp_max, timed_buff_id: 7029, info: "全体友方最大生命值提升30%, 持续5秒",
}
};
//***************驻场技能配置***************
export enum FieldSkillType {
@@ -597,7 +601,7 @@ export const FieldSkillSet: Record<number, FieldSkillConfig> = {
7021: { uuid: 7021, name: "反伤光环", icon: "75-Shield-Stun", type: FieldSkillType.HeroThornsDmg, info: "英雄固定反伤提升" },
7022: { uuid: 7022, name: "反伤比例光环", icon: "75-Shield-Stun", type: FieldSkillType.HeroThornsRate, info: "英雄比例反伤提升(百分点)" },
7014: { uuid: 7014, name: "召唤强化", icon: "9-Battle-Roar", type: FieldSkillType.SummonCount, info: "召唤触发技能次数提升" },
7015: { uuid: 7015, name: "死亡强化", icon: "102-Rise", type: FieldSkillType.DeadCount, info: "死亡触发技能次数提升" },
7016: { uuid: 7016, name: "开场强化", icon: "64-Prominance", type: FieldSkillType.StartCount, info: "战斗开始触发技能次数提升" },