refactor(战斗系统): 简化属性系统并移除魔法相关属性

移除魔法攻击(MAP)、魔法防御(MDEF)、元素抗性等冗余属性
将伤害减免统一由DEF属性处理,重命名CRITICAL_RESIST为CRITICAL_RES
更新相关技能、天赋和怪物配置以适应新的属性系统
删除未使用的职业成长系数配置和基础属性映射逻辑
This commit is contained in:
walkpan
2026-01-01 22:08:26 +08:00
parent e50431dbd6
commit 5e9494e4f8
17 changed files with 88 additions and 486 deletions

View File

@@ -305,7 +305,6 @@ export class HeroAttrsComp extends ecs.Comp {
break;
case Attrs.DEF:
case Attrs.AP:
case Attrs.MAP:
this.Attrs[attrIndex] = Math.max(1, this.Attrs[attrIndex]);
break;
case Attrs.CRITICAL: