Skip to main content

get_defined_spell_abilities

Function get_defined_spell_abilities 

Source
pub fn get_defined_spell_abilities(
    defined: &str,
    sa: &SpellAbility,
    game: &GameState,
) -> Vec<SpellAbility>
Expand description

Resolve a Defined$ parameter to spell abilities. Mirrors Java AbilityUtils.getDefinedSpellAbilities(Card, String, CardTraitBase) (AbilityUtils.java:1202).