refactor(hero): 删除英雄属性增长与升级资源相关代码

- 移除 heroSet.ts 中职业属性增长配置和全局属性增长配置
- 删除计算英雄属性等级的相关函数及升级资源配置
- Hero.ts 中初始化英雄属性时,改用静态 HeroInfo 数据赋值
- map/HInfoComp.ts 中移除未使用的属性增长及升级资源相关导入
- 简化英雄属性管理,减少复杂成长逻辑,提高数据维护效率
This commit is contained in:
2025-10-13 09:54:22 +08:00
parent a1a5c37ad0
commit c86fac4ce7
3 changed files with 6 additions and 259 deletions

View File

@@ -1,7 +1,7 @@
import { _decorator, Animation, AnimationClip, Component, Label, Node, resources, Sprite, SpriteFrame } from 'cc';
import { oops } from 'db://oops-framework/core/Oops';
import { UIID } from '../common/config/GameUIConfig';
import { getHeroList, getHeroStatsByLevel, getUpgradeResources, HeroInfo, HType, HTypeName, unlockHeroCost } from '../common/config/heroSet';
import { getHeroList, HeroInfo, HType, HTypeName } from '../common/config/heroSet';
import { smc } from '../common/SingletonModuleComp';
import { GameEvent } from '../common/config/GameEvent';
import { NumberFormatter } from '../common/config/BoxSet';