UNPKG

farming-weight

Version:

Tools for calculating farming weight and fortune in Hypixel Skyblock

23 lines (22 loc) 956 B
import { FarmingPetInfo, FarmingPetItemInfo, FarmingPetType, FarmingPets } from '../constants/pets'; import { Rarity } from '../constants/reforges'; import { EliteItemDto } from './item'; import { PlayerOptions } from './player'; export declare function createFarmingPet(pet: FarmingPetType): FarmingPet; export declare class FarmingPet { readonly pet: FarmingPetType; readonly type: FarmingPets; readonly info: FarmingPetInfo; readonly rarity: Rarity; readonly level: number; readonly item: FarmingPetItemInfo | undefined; fortune: number; breakdown: Record<string, number>; private options?; constructor(pet: FarmingPetType, options?: PlayerOptions); setOptions(options: PlayerOptions): void; getFortune(): number; static isValid(pet: FarmingPetType): boolean | '' | undefined; static fromArray(items: EliteItemDto[], options?: PlayerOptions): FarmingPet[]; } export declare function getPetLevel(pet: FarmingPetType, max?: number): number;