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

@@ -108,8 +108,6 @@ export class MissionCardComp extends CCComp {
showHeros: Node = null!
@property(Node)
herosPanNode: Node = null!
@property(Node)
herosBoxNode: Node = null!
/** 英雄抽卡面板开启金币费用显示节点 */
@property(Node)
showHerosCost: Node = null!
@@ -356,9 +354,6 @@ export class MissionCardComp extends CCComp {
this.hasCalledHero = false;
this.updatePanelButtonsInteractable();
// 初始化英雄信息盒(3 个空槽位)
// 暂不启用 herobox 同步显示英雄信息(后续可能恢复),保留代码备查
// this.refreshHeroBoxSlots();
// 重置开局免费三选一次数与选择计数,随后立即弹出第 1 组三选一
this.openingFreePicks = MissionCardComp.OPENING_FREE_PICK_COUNT;