Skip to content

[Feature] 让次要资源的卡牌上的UI显示的更像原版能量,减费(或升级)时显示为绿色,加费但能打出时显示为蓝色等等 #66

Description

@iouter

模块范围

Public API(公开 API)

动机 / 使用场景

让次要资源的卡牌上的UI显示的更像原版能量

方案设想

  1. 减费(或升级)时显示为绿色
  2. 加费但能打出时显示为蓝色
  3. 费用不够时显示为红色(这个有待商榷,目前可选打出是不会让卡牌UI颜色变化的)

最好也额外提供一套类似的formatter?用于一般的文本显示。

替代方案

No response

其他补充

原始费用和是否升级,或许可以让注册的时候(或者什么时候)绑定一个DynamicVar

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiPublic API, contracts, or compatibility surface.area/uiUser interface, layout, controls, or visual behavior.priority/p2Normal priority; useful but not urgent.status/needs-triageNeeds maintainer or analyzer triage.type/featureFeature request or behavior improvement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions