fn modified_effect_value( query: PassiveQuery<'_>, effect_index: i32, initial: f64, include_flat: bool, ) -> f64