Skip to main content

apply_gem_stats

Function apply_gem_stats 

Source
pub(super) async fn apply_gem_stats(
    gem_ids: &[u32],
    stats: &mut StatAccumulator<'_>,
    scaling: &StatScalingContext<'_>,
) -> Result<(), EngineError>
Expand description

Gems resolve through item.gem_propertiesGemProperties.enchant_id → enchantment stats.