pub fn get_basic_spells_from_play_effect(
game: &GameState,
tgt_card: CardId,
controller: PlayerId,
) -> Vec<SpellAbility>Expand description
Collect the basic spell abilities that a Play$ effect could cast from
tgt_card. Mirrors Java AbilityUtils.getBasicSpellsFromPlayEffect(Card, Player).
“Basic” means the non-alternative cost variants — the Rust engine has no
Spell wrapper analogue yet, so we synthesize fresh SpellAbility objects
from the target card’s ability text, filtering to spells / land abilities
the way Java does in collectSpellsForPlayEffect.