feat(attr): add vulnerable resist attribute and damage calculation

1. 新增易伤抗性属性vulnerable_res,支持百分比减免易伤附加伤害
2. 实现易伤伤害计算逻辑,支持叠加层数与值覆盖
3. 更新技能与Buff配置,修正灼烧技能描述为易伤效果
4. 新增中毒、减攻Debuff配置与易伤Buff常量定义
This commit is contained in:
panFD
2026-08-15 15:26:19 +08:00
parent b31cb877fe
commit 812cc3ee9f
5 changed files with 64 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
// ========== 从 HeroAttrs.ts 导入属性相关定义 ==========
// ========== 从 HeroAttrs.ts 导入属性相关定义 ==========
import { Attrs } from "./HeroAttrs";
export enum HSSet {
@@ -311,11 +311,11 @@ export const SkillSet: Record<number, SkillConfig> = {
DTType: DTType.single, ap: 100, hit_count: 2, hitcd: 0.3, speed: 720, with: 90, ready: 0.2, EAnm: 0, DAnm: "", IType: IType.remote,
RType: RType.linear, EType: EType.collision, info: "造成攻击力100%的伤害, 高阶技能",
},
// DoT 技能:命中附加灼烧7002BuffList 的 Debuff DoT 底座tick 伤害受施法者 ap 缩放
// DoT 技能:命中附加易伤7002受到伤害附加固定值,可被易伤抗性减免)
6104: {
uuid: 6104, name: "灼热火球", sp_name: "fb-1", icon: "Stat_FireDamage", TGroup: TGroup.Enemy, readyAnm: "", endAnm: "", act: "atk",
DTType: DTType.single, ap: 80, hit_count: 2, hitcd: 0.3, speed: 720, with: 90, ready: 0.2, EAnm: 0, DAnm: "", IType: IType.remote,
RType: RType.bezier, EType: EType.collision, timed_buff_id: 7002, info: "造成攻击力80%的伤害, 命中附加灼烧(5秒内持续掉血)",
RType: RType.bezier, EType: EType.collision, timed_buff_id: 7002, info: "造成攻击力80%的伤害, 命中附加易伤(5秒内受到伤害附加固定值)",
},
6201: {
uuid: 6201, name: "陨石术", sp_name: "fb-3", icon: "Stat_Tripleshot", TGroup: TGroup.Enemy, readyAnm: "blues", endAnm: "", act: "max",