feat(卡牌系统): 重构卡牌选择逻辑并添加属性卡类型支持

- 在GameSet枚举中添加Attr卡牌类型
- 在GameEvent中添加UseAttrCard事件
- 重构CardSet模块,统一使用GameSet中的CardType枚举
- 重构MissionCardComp模块,支持混合模式卡牌选择和强制类型获取
- 添加等级升级事件处理,优化卡牌获取逻辑
This commit is contained in:
panw
2026-01-14 20:37:40 +08:00
parent 6ddfe7e2c4
commit 5c5954b7d5
4 changed files with 116 additions and 100 deletions

View File

@@ -26,7 +26,8 @@ export enum CardType {
Talent = 1,
Skill = 2,
Potion = 3,
Partner = 4
Partner = 4,
Attr = 5
}
/**