fix(技能): 修复技能升级配置和属性计算错误

- 将 SkillUpList 中的 buff_max 字段更正为 buff_hp
- 移除 add_hp 和 add_shield 方法的 isValue 参数,改为直接使用数值
- 在 SCastSystem 中应用技能升级加成计算 AP、命中次数和 buff 值
- 为 HeroAttrsComp 添加 add_hp_max 和 add_ap 方法,替换原有的通用 buff 处理逻辑
- 简化伤害和技能效果应用逻辑,确保属性计算正确
This commit is contained in:
walkpan
2026-03-22 21:30:27 +08:00
parent 61261b97c3
commit 9962a725d1
4 changed files with 33 additions and 55 deletions

View File

@@ -150,7 +150,7 @@ export interface SkillConfig {
}
export const SkillUpList = {
6001:{ap:0,hit_count:0,buff_ap:0,buff_max:0,bck:0,frz:0,crt:0,num:0}
6001:{ap:0,hit_count:0,buff_ap:0,buff_hp:0,bck:0,frz:0,crt:0,num:0}
}
/******