refactor(卡牌类型): 移除卡牌类型映射中的Buff/Debuff分类

简化CardType枚举,移除Potion类型并调整Special类型值。
更新卡牌使用组件中的类型映射逻辑,不再为Buff/Debuff返回特定字符串。
This commit is contained in:
walkpan
2026-03-29 16:21:58 +08:00
parent 0490ae51c7
commit 6455bd0b8b
2 changed files with 2 additions and 6 deletions

View File

@@ -54,9 +54,6 @@ export class CardUseComp extends CCComp {
return "skill";
case CardType.Special:
return "special";
case CardType.Buff:
case CardType.Debuff:
return "buff";
default:
return "unknown";
}