Skip to main content

note_counters

Function note_counters 

Source
pub fn note_counters(
    game: &mut GameState,
    source_id: CardId,
    target_id: CardId,
    counter_type: &CounterType,
)
Expand description

Note the number of counters of a specific type on a card. Mirrors Java’s CountersNoteEffect.noteCounters(Card, CounterType).

Stores the counter count in the source card’s remembered_cmc list for later retrieval by effects that check “noted” counter amounts.