diff --git a/assets/script/game/map/CardComp.ts b/assets/script/game/map/CardComp.ts index d7843fcd..cc3ad939 100644 --- a/assets/script/game/map/CardComp.ts +++ b/assets/script/game/map/CardComp.ts @@ -878,15 +878,11 @@ export class CardComp extends CCComp { } // ---- 费用标签 ---- - if (this.card_type === CardType.Hero) { - if (this.cost_node) this.cost_node.active = false; - } else { - if (this.cost_node) { - this.cost_node.active = true; - const numNode = this.cost_node.getChildByName("num"); - if (numNode) { - this.setLabel(numNode, `${this.card_cost}`); - } + if (this.cost_node) { + this.cost_node.active = true; + const numNode = this.cost_node.getChildByName("num"); + if (numNode) { + this.setLabel(numNode, `${this.card_cost}`); } }