Files
pixelheros/assets/script/game/map/RogueConfig.ts
panw 10aa8cfba4 feat(关卡): 将Boss刷新机制改为基于时间轴
将Boss刷新从固定周期改为基于时间轴配置,支持在特定时间点生成多个Boss
2026-03-18 17:08:53 +08:00

39 lines
966 B
TypeScript

export enum UpType {
AP1_HP1 = 0, //平衡
HP2 = 1, //强hp
AP2 = 2 //强ap
}
export const StageGrow = {
[UpType.AP1_HP1]: [4,10],
[UpType.HP2]: [2,20],
[UpType.AP2]: [8,0],
}
export const StageBossGrow = {
[UpType.AP1_HP1]: [3,16],
[UpType.HP2]: [1,24],
[UpType.AP2]: [10,4],
}
export const MonType = {
AP: 0, // 近战高功
SPEED: 1, // 高速贴近
HP: 2, // 高血皮厚
//远程攻击
//
}
export const MonList = {
[MonType.AP]: [5201,5401], // 近战高功
[MonType.SPEED]: [5301], // 高速贴近
[MonType.HP]: [5501], // 高血皮厚
//远程攻击
//
}
export const BossList = [5701]
export const StageDuration = 30
export const SpawnBaseCd = 1.6
export const SpawnMinCd = 0.5
export const SpawnStageReduce = 0.08
export const BossSpawnTimeline = [60, 120, 180, 240, 300]
export const SpawnPowerBias = 1