feat(attr): add vulnerable resist attribute and damage calculation
1. 新增易伤抗性属性vulnerable_res,支持百分比减免易伤附加伤害 2. 实现易伤伤害计算逻辑,支持叠加层数与值覆盖 3. 更新技能与Buff配置,修正灼烧技能描述为易伤效果 4. 新增中毒、减攻Debuff配置与易伤Buff常量定义
This commit is contained in:
@@ -38,6 +38,7 @@ export enum Attrs {
|
||||
puncture_chance = "puncture_chance", // 穿透概率
|
||||
puncture_dmg_bonus = "puncture_dmg_bonus", // 穿透后伤害增量(百分点;最终穿透系数 = PUNCTURE_DMG_RATIO * (1 + bonus/100))
|
||||
wfuny = "wfuny", // 风怒
|
||||
vulnerable_res = "vulnerable_res", // 易伤抗性(百分比减免易伤附加伤害)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user