refactor: 移除 BossList 并重构 boss 检测逻辑

移除 RogueConfig 中已弃用的 BossList 常量,改为直接使用 MonList 中的分类来检测 boss 类型。这消除了冗余的配置数据,使 boss 类型的判断逻辑与 MonList 的维护来源保持一致,提高了代码的可维护性。
This commit is contained in:
walkpan
2026-04-04 09:41:03 +08:00
parent a365219935
commit eb1f19d14b
2 changed files with 6 additions and 5 deletions

View File

@@ -32,9 +32,10 @@ export const MonList = {
[MonType.MeleeBoss]:[6006,6015], // 近战boss
[MonType.LongBoss]:[6104], // 远程boss
}
export const BossList = [6006,6104,6015]
export const SpawnPowerBias = 1
/*
*** 全局刷怪强度配置,后期根据玩家强度动态调整
*/
export const SpawnPowerBias = 1
export interface IWaveSlot {
type: number; // 对应 MonType
count: number; // 占位数量