feat(hero&buff): 新增反伤类buff与技能,支持带修饰的反伤计算

1. 新增两个反伤相关的buff配置:固定反伤7027和比例反伤7028
2. 新增两个支援技能:荆棘护盾和荆棘比例增益
3. 为HeroAttrsComp新增获取最终反伤属性的方法,支持限时修饰词计算
4. 重构英雄反伤伤害计算逻辑,使用新的属性获取方法
This commit is contained in:
panFD
2026-09-05 18:14:13 +08:00
parent 370b455352
commit 699f7fc6b8
4 changed files with 39 additions and 1 deletions

View File

@@ -515,6 +515,16 @@ export const SkillSet: Record<number, SkillConfig> = {
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秒",
},
6514: {
uuid: 6514, 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.thorns_dmg, timed_buff_id: 7027, info: "全体友方获得10点固定反伤, 持续5秒",
},
6515: {
uuid: 6515, 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.thorns_rate, timed_buff_id: 7028, info: "全体友方获得10%比例反伤, 持续5秒",
}
};