0.3.11 • Published 7 days ago

farming-weight v0.3.11

Weekly downloads
-
License
LGPL-3.0-only
Repository
github
Last release
7 days ago

Tools

NPM package for Farming Weight and fortune calculations in Hypixel SkyBlock.

Created specifically for the EliteWebsite and EliteBot projects, but can be used for any project, as long as some credit is given per the license.

Installation

npm install farming-weight

Usage

This is a new package that's changing rapidly, there aren't any comprehensive docs at this time

import { CreateFarmingWeightCalculator } from 'farming-weight';

const member = // Get SkyBlock member from elsewhere

const calculator = CreateFarmingWeightCalculator({
	collection: member.collection,
	farmingXp: member.experience_skill_farming,
	levelCapUpgrade: member.jacob2?.perks?.farming_level_cap,
	anitaBonusFarmingFortuneLevel?: member.jacob2?.perks?.anita_bonus_farming_fortune_level,
	minions: member.crafted_generators, // You should also include minions crafted from other members on the same profile
	contests: member.jacob2?.contests,
}).setEarnedGoldMedals(earnedGoldMedals) // Can pass in some values instead of calculating them (you can exclude contests if you do this)

const weight = calculator.getWeightInfo();

console.log(weight.totalWeight); // 10000.53 (or whatever the total weight is)
0.3.11

7 days ago

0.3.9

29 days ago

0.3.10

29 days ago

0.3.8

29 days ago

0.3.7

2 months ago

0.3.6

2 months ago

0.3.5

3 months ago

0.3.4

4 months ago

0.3.3

4 months ago

0.3.0

4 months ago

0.3.2

4 months ago

0.3.1

4 months ago

0.2.13

5 months ago

0.2.12

5 months ago

0.2.11

6 months ago

0.2.10

6 months ago

0.2.7

7 months ago

0.2.6

7 months ago

0.2.9

6 months ago

0.2.8

7 months ago

0.2.5

7 months ago

0.2.4

7 months ago

0.2.3

7 months ago

0.2.2

7 months ago

0.2.1

7 months ago

0.2.0

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago