refactor: 移除未使用的眩晕、减速和穿刺伤害属性

清理技能和英雄属性相关的未使用代码,包括:
- 移除 HSkillComp 中的 stun_chance、slow_chance 和 puncture_dmg 默认值
- 删除 SkillSet 接口中的 stn 和 slw 字段
- 精简 HeroAttrs 枚举,移除 critical_dmg、stun_chance、slow_chance、puncture_dmg 等未使用属性
- 简化 HeroAttrsComp 类中的属性定义和注释

这些属性在当前游戏逻辑中未被使用,移除以减少代码复杂性和维护负担。
This commit is contained in:
walkpan
2026-03-19 18:58:19 +08:00
parent 50936dce1d
commit 08fbb72d19
4 changed files with 1 additions and 22 deletions

View File

@@ -176,9 +176,7 @@ export interface SkillConfig {
kind?:SkillKind, // 主效果类型
crt?:number, // 额外暴击率
frz?:number, // 额外冰冻概率
stn?:number, // 额外眩晕概率
bck?:number, // 额外击退概率
slw?:number, // 额外减速概
buffs:number[], // 对施法者的buff配置列表(Buff UUID 列表)
call_hero?:number, // 召唤技能召唤英雄id(可选)
info:string, // 技能描述