fix(game): 关卡切换时重置HC为200,不带入上一关余量,修复游戏平衡性问题

This commit is contained in:
Cloud Bot
2026-03-24 08:48:19 +00:00
parent a36c8af344
commit 361a1bed5d
3 changed files with 13 additions and 9 deletions

View File

@@ -399,6 +399,8 @@ export function createGameScene(PhaserLib: typeof Phaser): typeof Phaser.Scene {
this.waveManager.clearAllEnemies()
// 清除上一关所有防御塔
this.towerManager.clearAllTowers()
// 重置 HC每关重新开始不带入上关余量
this.manager.resetHC()
this.loadMap(ALL_MAPS[nextIndex])
this.hud.enableWaveButton()
this.hud.setWaveButtonText('▶ 召唤下一波')