Skip to main content

cant_attack

pub fn cant_attack(
    game: &GameState,
    cards: &[Card],
    attacker: &Card,
    defender: PlayerId,
) -> bool
Expand description

Check if a creature can’t attack. Mirrors Java’s StaticAbilityCantAttackBlock.cantAttack().