Skip to main content

resolve_numeric_value

Function resolve_numeric_value 

Source
pub fn resolve_numeric_value(
    game: &GameState,
    sa: &SpellAbility,
    raw_val: &str,
    default: i32,
) -> i32
Expand description

Resolve a raw numeric DSL value using the same semantics as resolve_numeric_svar, without first looking it up in sa.params.