refactor(config): 统一卡池等级与升级波次的数据源

1. 将卡池等级上限从硬编码改为引用FightSet.MAX_CARD_POOL_LEVEL
2. 提取卡池升级波次配置到GameSet中作为单一数据源
3. 移除MissionComp中的硬编码波次配置,改为引用全局配置
This commit is contained in:
panFD
2026-06-19 08:38:39 +08:00
parent 875d2d68b5
commit 40c27e04f2
3 changed files with 17 additions and 6 deletions

View File

@@ -84,8 +84,8 @@ export const CardInitCoins = 4
export const CARD_POOL_UPGRADE_DISCOUNT_PER_WAVE = 10
/** 卡池默认初始等级 */
export const CARD_POOL_INIT_LEVEL = CardLV.LV1
/** 卡池等级上限 */
export const CARD_POOL_MAX_LEVEL = CardLV.LV5
/** 卡池等级上限(统一由 FightSet.MAX_CARD_POOL_LEVEL 设定,保持单一数据源) */
export const CARD_POOL_MAX_LEVEL = FightSet.MAX_CARD_POOL_LEVEL as unknown as CardLV
/** 英雄最高等级限制 */
export const CARD_HERO_MAX_LEVEL = 1
/** 基础卡池(英雄、技能、功能) */