Skip to main content

modify_damage

Function modify_damage 

Source
pub(crate) fn modify_damage(
    item: &ItemStack,
    context: &EnchantmentDamageContext<'_>,
    damage: f32,
) -> f32