模块范围
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
模块范围
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