yasuki_core.engine.rules.triggers.AdjustCounter#

class AdjustCounter(card_id, counter, delta)[source]#

Effect: add delta to a counter on a card (floored at zero by the card). A grant is a positive delta, a removal negative. The rules-side twin of the sandbox AdjustCounter intent, applied through apply_effect() rather than apply_intent.

Methods

AdjustCounter.__init__(card_id, counter, delta)

Attributes

card_id

counter

delta