refactor(map): 移除废弃HeroBoxComp相关代码与引用

feat: 新增5名英雄配置数据与服务端配置
style: 更新HeroMoreCom注释与刷新逻辑说明
This commit is contained in:
panFD
2026-09-08 08:36:33 +08:00
parent f52488f3fb
commit f0063525da
5 changed files with 750 additions and 10 deletions

View File

@@ -109,7 +109,7 @@ export class HeroMoreCom extends Component {
}
/**
* 初始化并渲染英雄信息(由 HeroBoxComp 在 instantiate 后同步调用)。
* 初始化并渲染英雄信息(由调用方在 instantiate 后同步调用)。
* @param eid 英雄 ECS 实体 ID;实体不存在时立即销毁
*/
public init(eid: number) {
@@ -154,7 +154,7 @@ export class HeroMoreCom extends Component {
/**
* 刷新显示:8 行次级属性(总值 + 附加值)+ 技能描述富文本。
* 附加 = 最终生效值 - 基础配置值,与原 HeroBoxComp 口径一致。
* 附加 = 最终生效值 - 基础配置值。
*/
private refresh() {
if (!this.model) return;