refactor(map): 移除废弃HeroBoxComp相关代码与引用
feat: 新增5名英雄配置数据与服务端配置 style: 更新HeroMoreCom注释与刷新逻辑说明
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user