feat(card): 添加卡牌等级视觉区分与配置调整
- 在卡牌预制件中新增背景(BG_node)、普通边框(NF_node)和高阶边框(HF_node)节点 - 根据卡牌等级和英雄等级动态显示对应的背景和边框样式 - 调整卡牌等级枚举定义,移除LV6并重命名为CardLV - 为CardConfig接口添加card_lv字段以支持独立卡牌等级 - 优化buff提示框的布局和字体大小
This commit is contained in:
@@ -18,6 +18,13 @@ export class HInfoComp extends CCComp {
|
||||
icon_node=null!
|
||||
@property(Node)
|
||||
sell_node=null!
|
||||
|
||||
@property(Node)
|
||||
NF_node=null!
|
||||
@property(Node)
|
||||
HF_node=null!
|
||||
|
||||
|
||||
private eid: number = 0;
|
||||
private model: HeroAttrsComp | null = null;
|
||||
private apLabel: Label | null = null;
|
||||
|
||||
Reference in New Issue
Block a user