yasuki_core.engine.rules.work.SelectAbilityTarget#

class SelectAbilityTarget(card_id, candidates)[source]#

Raise an activated ability’s target choice once its cost has been paid. Deferred so a cost whose own cascade pauses for a decision resolves fully before the target is chosen.

Attributes:
card_idstr

The card whose ability is resolving.

candidatestuple of str

The ids the ability may target, fixed before paying so the choice is never left empty.

Methods

SelectAbilityTarget.__init__(card_id, candidates)

Attributes

card_id

candidates