diff --git a/assets/script/game/map/CardComp.ts b/assets/script/game/map/CardComp.ts index fc4af4f3..148d9e44 100644 --- a/assets/script/game/map/CardComp.ts +++ b/assets/script/game/map/CardComp.ts @@ -698,6 +698,8 @@ export class CardComp extends CCComp { this.ap_node.active = true; this.hp_node.active = true; + // 英雄卡:隐藏技能信息节点 + if (this.info_node) this.info_node.active = false; } else if (this.card_type === CardType.Skill) { if (this.lvl_node) this.lvl_node.node.active = false; // 技能卡:显示技能名 + 品质后缀 + 描述 @@ -709,6 +711,8 @@ export class CardComp extends CCComp { this.ap_node.active = false; this.hp_node.active = false; + // 技能卡:显示技能信息节点 + if (this.info_node) this.info_node.active = true; } else { if (this.lvl_node) this.lvl_node.node.active = false; // 特殊卡(升级 / 刷新):显示卡名 + 品质后缀 + 描述