UNPKG

farming-weight

Version:

Tools for calculating farming weight and fortune in Hypixel Skyblock

43 lines 1.38 kB
import { FarmingPetStatType, FarmingPets } from '../../constants/pets.js'; import { Rarity } from '../../constants/reforges.js'; import { Stat } from '../../constants/stats.js'; import { FarmingPetDefinition } from '../base-pet.js'; export class MosquitoPet extends FarmingPetDefinition { get id() { return FarmingPets.Mosquito; } get name() { return 'Mosquito'; } get wiki() { return 'https://w.elitesb.gg/Mosquito_Pet'; } perLevelStats = { [Stat.Speed]: { name: 'Speed', value: 0.2, type: FarmingPetStatType.Base, }, [Stat.BonusPestChance]: { name: 'Bonus Pest Chance', value: 0.5, type: FarmingPetStatType.Base, }, }; abilities = [ { name: "Buzzin' Barterer", exists: (_, pet) => pet.rarity !== Rarity.Common && pet.rarity !== Rarity.Uncommon, computed: (player, pet) => { return { [Stat.SugarCaneFortune]: { name: "Buzzin' Barterer", value: Math.min(pet.level * 0.02 * (player.options.uniqueVisitors ?? 0), 175), type: FarmingPetStatType.Ability, }, }; }, }, ]; } //# sourceMappingURL=mosquito.js.map