diff --git a/assets/script/game/map/MissionCardComp.ts b/assets/script/game/map/MissionCardComp.ts index 0ed1d9c9..1a5c2e5e 100644 --- a/assets/script/game/map/MissionCardComp.ts +++ b/assets/script/game/map/MissionCardComp.ts @@ -262,7 +262,7 @@ export class MissionCardComp extends CCComp { /** * 绑定所有事件监听: - * - 节点级事件:MissionStart / MissionEnd / NewWave / FightStart + * - 节点级事件:MissionStart / MissionEnd / FightStart * - 全局消息:CoinAdd / MasterCalled / HeroDead / UseHeroCard / UseSpecialCard * - 按钮触控:抽卡(cards_chou) */ @@ -270,7 +270,6 @@ export class MissionCardComp extends CCComp { /** 生命周期事件(节点级) */ this.on(GameEvent.MissionStart, this.onMissionStart, this); this.on(GameEvent.MissionEnd, this.onMissionEnd, this); - this.on(GameEvent.NewWave, this.onNewWave, this); this.on(GameEvent.FightStart, this.onFightStart, this); this.on("PhasePrepareStart", this.onPhasePrepareStart, this); @@ -372,15 +371,6 @@ export class MissionCardComp extends CCComp { this.updateHeroNumUI(true, true); } - /** 新一波:展开面板 → 刷新费用 UI → 重新抽卡分发 */ - private onNewWave() { - this.enterPreparePhase(); - this.updateCoinAndCostUI(); - this.layoutCardSlots(); - const cards = this.buildDrawCards(); - this.dispatchCardsToSlots(cards); - } - /** * 技能卡入场动画:每个卡槽从场景基准位置下方 80px 处升起, * 终止位置 = 场景编辑器位置(保持初始不做位移的约束),