品质统一在boxset设定
This commit is contained in:
@@ -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 [];
|
||||
|
||||
Reference in New Issue
Block a user