Skip to main content

load_counters

Function load_counters 

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

Load previously noted counter amounts back onto a card. Mirrors Java’s CountersNoteEffect.loadCounters(Card, CounterType).

Reads the noted counter count from the source card’s remembered_cmc and adds that many counters of the specified type to the target.