yasuki_core.engine.rules.decisions.ChooseAbilityTarget#
- class ChooseAbilityTarget(seat, candidates, source_card_id)[source]#
The seat must choose the target of an activated ability it has announced. The candidates are the cards the ability may legally target — all in play, so a client renders them as board selections.
- Attributes:
- source_card_id
str The card whose ability is resolving, whose effects apply to the chosen target.
- source_card_id
Methods
ChooseAbilityTarget.__init__(seat, ...)ChooseAbilityTarget.accepts(response)Return whether
responseis a structurally well-formed answer to this request — the right shape, drawn fromcandidates.Attributes
source_card_id