Skip to main content

apply_etb_tapped

Function apply_etb_tapped 

Source
pub fn apply_etb_tapped(game: &mut GameState, entering_card: CardId)
Expand description

Apply ETB-tapped effects to entering_card as it enters the battlefield.

Checks:

  1. The card’s own static abilities for Mode$ ETBTapped (intrinsic).
  2. Any other battlefield permanent with Mode$ ETBTapped whose filter matches the entering card (extrinsic, e.g. Imposing Sovereign).

Call this immediately after GameState::move_card resolves a Battlefield destination and before triggers are fired.