品质统一在boxset设定

This commit is contained in:
2025-08-18 21:03:47 +08:00
parent 3884b35829
commit 9e1459973c
18 changed files with 368 additions and 377 deletions

View File

@@ -11,8 +11,9 @@
* @date 2025-07-12
*/
import { QualitySet } from "../common/config/BoxSet";
import { BuffAttr } from "../common/config/SkillSet";
import { getMonList, HQuality } from "../common/config/heroSet";
import { getMonList } from "../common/config/heroSet";
/**
* 怪物类型枚举
@@ -273,13 +274,13 @@ export function generateStageConfig(stageNumber: number, level: number = 1): Mon
export function getMonsterUUIDsByType(monsterType: MonsterType): number[] {
switch (monsterType) {
case MonsterType.NORMAL:
return getMonList(HQuality.GREEN); // 绿色品质为普通怪物
return getMonList(QualitySet.GREEN); // 绿色品质为普通怪物
case MonsterType.ELITE:
return getMonList(HQuality.BLUE); // 蓝色品质为精英怪物
return getMonList(QualitySet.BLUE); // 蓝色品质为精英怪物
case MonsterType.BOSS:
// 紫色及以上品质为Boss怪物
const purpleMonsters = getMonList(HQuality.PURPLE);
const orangeMonsters = getMonList(HQuality.ORANGE);
const purpleMonsters = getMonList(QualitySet.PURPLE);
const orangeMonsters = getMonList(QualitySet.ORANGE);
return [...purpleMonsters, ...orangeMonsters];
default:
return [];