Skip to content

[Feature] 希望增加Single Custom Target对药水的兼容以及更丰富的canTarget Context #63

Description

@Carry332

模块范围

Public API(公开 API)

动机 / 使用场景

能直接在药水中使用Single Custom Target。
根据玩家或卡牌来决定CanTarget.

方案设想

目前在药水中使用Single Custom Target无法投掷,而是显示饮用,传入OnUse的参数也是Player Self
希望能够做Potion的customtarget兼容,使SingleTarget类型的CustomTarget能够投掷。
同时,希望RegisterSingleTargetType中传入的canTarget能够接受一个Context,包含TargetCreature,使用Target的Player,Target的source,如来自哪个卡牌或药水。

替代方案

No response

其他补充

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiPublic API, contracts, or compatibility surface.priority/p1High priority regression or high-impact work.status/confirmedConfirmed and actionable.type/featureFeature request or behavior improvement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions