关卡调整

This commit is contained in:
2025-08-17 21:12:35 +08:00
parent 1a25a566c8
commit b6ec65741a
3 changed files with 39 additions and 17 deletions

View File

@@ -103,8 +103,9 @@ export class MissionMonCompComp extends CCComp { // 添加刷怪队列 - 使
const currentStage = smc.data.mission;
// 使用新的肉鸽关卡配置
const stageType = getStageType(currentStage);
const monsterConfigs = getStageMonsterConfigs(currentStage);
let level=smc.vmdata.mission_data.level
const stageType = getStageType(currentStage,level);
const monsterConfigs = getStageMonsterConfigs(currentStage,level);
console.log(`[MissionMonComp]:第${currentStage}关 - ${stageType}类型,怪物数量: ${monsterConfigs.length}`);
this.generateMonstersFromStageConfig(monsterConfigs);
}