feat: 同步 HeroInfo 到 CardPoolList 并排序英雄卡
根据 heroSet.ts 中的 HeroInfo 配置,更新 CardSet.ts 的 CardPoolList。 - 新增英雄卡条目 5012 和 5013 - 更新现有英雄卡的 lv 字段以匹配 HeroInfo.cards_lv - 按 lv 升序对英雄卡进行排序,保持非英雄卡顺序不变
This commit is contained in:
@@ -32,24 +32,25 @@ export interface CardConfig {
|
||||
export const CARD_POOL_INIT_LEVEL = CardKind.LV1
|
||||
/** 卡池等级上限 */
|
||||
export const CARD_POOL_MAX_LEVEL = CardKind.LV6
|
||||
|
||||
/** 英雄最高等级限制 */
|
||||
export const CARD_HERO_MAX_LEVEL = 3
|
||||
/** 基础卡池(英雄、技能、Buff、Debuff) */
|
||||
export const CardPoolList: CardConfig[] = [
|
||||
{ uuid: 5001, type: CardType.Hero, cost: 3, weight: 25, lv: 1 ,hero_lv:1,},
|
||||
{ uuid: 5002, type: CardType.Hero, cost: 3, weight: 25, lv: 3 ,hero_lv:1,},
|
||||
{ uuid: 5003, type: CardType.Hero, cost: 3, weight: 25, lv: 2 ,hero_lv:1,},
|
||||
{ uuid: 5004, type: CardType.Hero, cost: 3, weight: 25, lv: 4 ,hero_lv:1,},
|
||||
{ uuid: 5101, type: CardType.Hero, cost: 3, weight: 25, lv: 1 ,hero_lv:1,},
|
||||
{ uuid: 5102, type: CardType.Hero, cost: 3, weight: 25, lv: 2 ,hero_lv:1,},
|
||||
{ uuid: 5103, type: CardType.Hero, cost: 3, weight: 25, lv: 3 ,hero_lv:1,},
|
||||
{ uuid: 5104, type: CardType.Hero, cost: 3, weight: 25, lv: 4 ,hero_lv:1,},
|
||||
{ uuid: 5105, type: CardType.Hero, cost: 3, weight: 25, lv: 5 ,hero_lv:1,},
|
||||
{ uuid: 5201, type: CardType.Hero, cost: 3, weight: 25, lv: 1 ,hero_lv:1,},
|
||||
{ uuid: 5202, type: CardType.Hero, cost: 3, weight: 25, lv: 3 ,hero_lv:1,},
|
||||
{ uuid: 5301, type: CardType.Hero, cost: 3, weight: 25, lv: 1 ,hero_lv:1,},
|
||||
{ uuid: 5302, type: CardType.Hero, cost: 3, weight: 25, lv: 2 ,hero_lv:1,},
|
||||
{ uuid: 5303, type: CardType.Hero, cost: 3, weight: 25, lv: 4 ,hero_lv:1,},
|
||||
{ uuid: 5304, type: CardType.Hero, cost: 3, weight: 25, lv: 6 ,hero_lv:1,},
|
||||
{ uuid: 5001, type: CardType.Hero, cost: 3, weight: 25, lv: 1, hero_lv: 1 },
|
||||
{ uuid: 5101, type: CardType.Hero, cost: 3, weight: 25, lv: 1, hero_lv: 1 },
|
||||
{ uuid: 5201, type: CardType.Hero, cost: 3, weight: 25, lv: 1, hero_lv: 1 },
|
||||
{ uuid: 5301, type: CardType.Hero, cost: 3, weight: 25, lv: 1, hero_lv: 1 },
|
||||
{ uuid: 5003, type: CardType.Hero, cost: 3, weight: 25, lv: 2, hero_lv: 1 },
|
||||
{ uuid: 5012, type: CardType.Hero, cost: 3, weight: 25, lv: 2, hero_lv: 1 },
|
||||
{ uuid: 5302, type: CardType.Hero, cost: 3, weight: 25, lv: 2, hero_lv: 1 },
|
||||
{ uuid: 5002, type: CardType.Hero, cost: 3, weight: 25, lv: 3, hero_lv: 1 },
|
||||
{ uuid: 5013, type: CardType.Hero, cost: 3, weight: 25, lv: 3, hero_lv: 1 },
|
||||
{ uuid: 5202, type: CardType.Hero, cost: 3, weight: 25, lv: 3, hero_lv: 1 },
|
||||
{ uuid: 5004, type: CardType.Hero, cost: 3, weight: 25, lv: 4, hero_lv: 1 },
|
||||
{ uuid: 5104, type: CardType.Hero, cost: 3, weight: 25, lv: 4, hero_lv: 1 },
|
||||
{ uuid: 5303, type: CardType.Hero, cost: 3, weight: 25, lv: 4, hero_lv: 1 },
|
||||
{ uuid: 5105, type: CardType.Hero, cost: 3, weight: 25, lv: 5, hero_lv: 1 },
|
||||
{ uuid: 5304, type: CardType.Hero, cost: 3, weight: 25, lv: 6, hero_lv: 1 },
|
||||
|
||||
{ uuid: 7001, type: CardType.Special, cost: 1, weight: 20, lv: 1 },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user