Function armed_magnitude

Source
pub fn armed_magnitude(
    entity: &Entity,
    magnitude_key: &str,
    charges_key: &str,
) -> Option<i64>
Expand description

The magnitude of a (magnitude, charges) pair, or None when it is spent. Reading is separate from spending because the fight primitives only see &Entity, while the stone runtime holds it mutably.