pub fn apply_moved_replacement(
game: &mut GameState,
card_id: CardId,
dest: ZoneType,
agents: Option<&mut [Box<dyn PlayerAgent>]>,
) -> ZoneTypeExpand description
Apply Moved replacement effects (Rest in Peace, Leyline of the Void) for a card being moved to the Graveyard. Uses agents for proper RNG consumption when multiple effects apply. Returns the final destination zone.
If dest is not Graveyard, returns dest unchanged (no replacement needed).