diff --git a/assets/script/game/common/config/CardSet.ts b/assets/script/game/common/config/CardSet.ts index 5c71941f..a8ce658f 100644 --- a/assets/script/game/common/config/CardSet.ts +++ b/assets/script/game/common/config/CardSet.ts @@ -5,8 +5,6 @@ export enum CardType { Hero = 1, Skill = 2, Special = 3, - Buff = 5, - Debuff = 6, } /** 卡池等级定义 */ @@ -45,7 +43,7 @@ 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: 5101, type: CardType.Hero, cost: 3, weight: 25, lv: 1, hero_lv: 1 }, @@ -174,10 +172,6 @@ export const getCardPoolByLv = (lv: number, onlyCurrentLv: boolean = false): Car const normalizeTypeFilter = (type: CardType | CardType[]): Set => { const list = Array.isArray(type) ? type : [type] - const hasBuffLike = list.includes(CardType.Buff) || list.includes(CardType.Debuff) - if (hasBuffLike) { - return new Set([...list, CardType.Buff, CardType.Debuff]) - } return new Set(list) }