Function count_equipped_at_rarity

Source
pub fn count_equipped_at_rarity<const R: u128>(
    ctx: &ConditionalProgressCtx<'_>,
) -> Result<i64>
Expand description

On PlayerEquipItem: the number of equipped inventory items whose rarity q is at least the target rarity R’s q; other events leave progress unchanged.