yasuki_core.engine.rules.work#

Classes

ApplyAbilityEffects(card_id, target_ids)

Resolve an untargeted ability's effects against every card it hits, once its cost has been paid.

FinishRecruit(card_id, invest_amount[, proclaim])

The recruit steps that follow a card entering play — clearing its Sincerity tokens, resolving a Proclaim's honor gain, and applying any Invest effect.

ModestFarmStraighten(modest_farm_id, target_id)

Offer Modest Farm's optional sacrifice once its targeted recruit has resolved: the controller may destroy Modest Farm to straighten the freshly recruited card.

ResolveRecruit(seat, card_id[, ...])

Finish a Recruit once its cost is paid: bring the card from its province into play (bowed for a Holding) and refill the vacated province.

ResumeCascade(effects, firing, event, queue)

The exact remainder of an effect-and-trigger cascade a choice paused: the effects still to apply, then the (card_id, trigger) pairs still to fire for event, then the events still queued behind them.

SelectAbilityTarget(card_id, candidates)

Raise an activated ability's target choice once its cost has been paid.