feat(hero&config): 完善英雄配置与护盾技能逻辑

新增英雄配置表及元数据,更新配置文档说明,修复护盾技能计算逻辑,调整技能基础参数与描述
This commit is contained in:
pan
2026-09-03 10:56:21 +08:00
parent a2dc40997c
commit 421f31fecf
5 changed files with 114 additions and 22 deletions

View File

@@ -537,7 +537,8 @@ export class SCastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate
smc.vmdata.scores.heal_total += addHp;
}
} else if (kind === SkillKind.Shield && sAp !== 0) {
const addShield = Math.max(0, Math.floor(sAp));
// 护盾值 = ap% × 施法者最终最大生命(getFinalHpMax 含驻场光环与计时 buff 加成)
const addShield = Math.max(0, Math.floor(_cAttrsComp.getFinalHpMax() * sAp / 100));
model.add_shield(addShield);
}