Skip to main content

add_replace_graveyard_effect

Function add_replace_graveyard_effect 

Source
pub fn add_replace_graveyard_effect(
    ctx: &mut EffectContext<'_>,
    card_id: CardId,
    _host_card: CardId,
    sa: &SpellAbility,
    zone: &str,
)
Expand description

Create a one-shot replacement effect on a Command-zone effect card that reroutes card_id to dest_zone if it would be put into the graveyard from the stack (e.g. Diviner of Mist’s ReplaceGraveyard$ Exile).