pub fn get_attr_from_attrs(attrs: &AttrMap, attr: &str) -> f64Expand description
attrs.get_attr(name): read the composed attribute value from an attribute map.
Returns (base + bonus) * (1 + bonus / 10000.0).
of mod in the multiplier. We preserve the original behaviour byte-for-byte
so power calculations stay consistent with the current production config.
attrs.get_attr(...) method (registered for scripts that still pass a