fix(game): 关卡切换时重置HC为200,不带入上一关余量,修复游戏平衡性问题
This commit is contained in:
@@ -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('▶ 召唤下一波')
|
||||
|
||||
Reference in New Issue
Block a user