Skip to main content

generate_ability_commands

Function generate_ability_commands 

Source
pub fn generate_ability_commands(
    card_id: CardId,
    event_trigger: &str,
    controller: PlayerId,
    registry: &CardRegistry,
    next_stack_id: &mut u32,
) -> Vec<Command>
Expand description

Generate commands from a card’s abilities when an event matches a trigger