diff --git a/assets/script/game/common/config/StageSet.ts b/assets/script/game/common/config/StageSet.ts index b8a99e5d..449276c1 100644 --- a/assets/script/game/common/config/StageSet.ts +++ b/assets/script/game/common/config/StageSet.ts @@ -30,8 +30,8 @@ export const BOSS_MUL = 3.0; export const NORMAL_MON_COUNT = 9; /** 普通关开局立即刷出数量 */ export const NORMAL_FIRST_SPAWN = 3; -/** 普通关后续刷怪间隔(秒) */ -export const NORMAL_SPAWN_INTERVAL = 5; +/** 普通关后续刷怪间隔(秒):前 3 只立即刷,后续每 1s 刷 1 只 */ +export const NORMAL_SPAWN_INTERVAL = 1; /** 精英关精英数量 */ export const ELITE_COUNT = 3; /** Boss 关精英数量 */ diff --git a/assets/script/game/map/MissionComp.ts b/assets/script/game/map/MissionComp.ts index 4d42bbe5..7989540d 100644 --- a/assets/script/game/map/MissionComp.ts +++ b/assets/script/game/map/MissionComp.ts @@ -321,22 +321,18 @@ export class MissionComp extends CCComp { return MissionComp.COUNTDOWN_NORMAL; } - /** 更新倒计时:写入 vmdata 驱动 VMLabel 显示("下一节 Xs") */ + /** 更新倒计时 UI(显示剩余秒数) */ private updateCountdownUI(force: boolean = false) { if (!this.isWaveCountdown) return; const remain = Math.max(0, Math.ceil(this.waveCountdown)); if (!force && remain === this.lastTimeSecond) return; this.lastTimeSecond = remain; - - // MVVM:借用 section 字段承载倒计时秒数,VMLabel 模板自动刷新 - smc.vmdata.stage_progress.section = remain; } - /** 结束回合间倒计时(恢复 vmdata 进度镜像,VMLabel 回到"第 X 节"显示) */ + /** 结束回合间倒计时 */ private stopWaveCountdown() { this.isWaveCountdown = false; this.lastTimeSecond = -1; - smc.syncStageProgressToView(); } // ======================== 奖励与广告 ======================== @@ -479,9 +475,6 @@ export class MissionComp extends CCComp { this.playTooltipAnim(phaseName); } - // 阶段文本由 VMLabel 绑定 vmdata.stage_progress 自动刷新,此处仅同步数据 - smc.syncStageProgressToView(); - // 重置状态机的计时器 if (this.PhaseTime) { this.PhaseTime.reset(); diff --git a/assets/script/game/map/RogueConfig.ts b/assets/script/game/map/RogueConfig.ts index 7a3bf094..8de2563c 100644 --- a/assets/script/game/map/RogueConfig.ts +++ b/assets/script/game/map/RogueConfig.ts @@ -4,7 +4,7 @@ * * 游戏机制: * - 玩家线性推进 1 章 10 关 × 每关 10 小节,进度精确到小节并持久化。 - * - 普通关(1~4, 6~9):9 只小怪,前 3 只立即刷,后续每 5s 刷 1 只。 + * - 普通关(1~4, 6~9):9 只小怪,前 3 只立即刷,后续每 1s 刷 1 只。 * - 精英关(5):3 只精英同时刷出。 * - Boss 关(10):2 精英先刷,Boss 延迟 1s 刷出。 * - 怪物属性 = 基础 × 0.8 × (1 + 0.05×(lv-1)) × 类型倍率(精英1.5 / Boss3.0)。