Function fast_equip_pets

Source
pub fn fast_equip_pets(ctx: &ItemIdsCtx<'_>) -> Result<Vec<Uuid>>
Expand description

sort_by(|a, b| floor((pet_power(b) - pet_power(a)) * 1000.0))) and return the template_ids of the top min(pets.len, Slots).