farming-weight
Version:
Tools for calculating farming weight and fortune in Hypixel Skyblock
528 lines • 15.2 kB
JavaScript
import { Stat } from './stats.js';
export var Rarity;
(function (Rarity) {
Rarity["Common"] = "Common";
Rarity["Uncommon"] = "Uncommon";
Rarity["Rare"] = "Rare";
Rarity["Epic"] = "Epic";
Rarity["Legendary"] = "Legendary";
Rarity["Mythic"] = "Mythic";
Rarity["Divine"] = "Divine";
Rarity["Special"] = "Special";
Rarity["VerySpecial"] = "Very Special";
Rarity["Ultimate"] = "Ultimate";
Rarity["Admin"] = "Admin";
})(Rarity || (Rarity = {}));
export const RARITY_VALUES = {
[]: 1,
[]: 2,
[]: 3,
[]: 4,
[]: 5,
[]: 6,
[]: 7,
[]: 8,
[]: 9,
[]: 10,
[]: 11,
};
export function compareRarity(a, b) {
return RARITY_VALUES[a] - RARITY_VALUES[b];
}
export var ReforgeTarget;
(function (ReforgeTarget) {
ReforgeTarget["Hoe"] = "Hoe";
ReforgeTarget["Axe"] = "Axe";
ReforgeTarget["Armor"] = "Armor";
ReforgeTarget["Equipment"] = "Equipment";
ReforgeTarget["Sword"] = "Sword";
})(ReforgeTarget || (ReforgeTarget = {}));
export const REFORGES = {
bountiful: {
name: 'Bountiful',
wiki: 'https://wiki.hypixel.net/Golden_Ball',
appliesTo: [ReforgeTarget.Hoe, ReforgeTarget.Axe],
stone: {
name: 'Golden Ball',
id: 'GOLDEN_BALL',
npc: 1000000,
},
tiers: {
[]: {
stats: {
[]: 1,
[]: 1,
},
cost: 20000,
},
[]: {
stats: {
[]: 2,
[]: 2,
},
cost: 40000,
},
[]: {
stats: {
[]: 3,
[]: 3,
},
cost: 80000,
},
[]: {
stats: {
[]: 5,
[]: 5,
},
cost: 150000,
},
[]: {
stats: {
[]: 7,
[]: 8,
},
cost: 300000,
},
[]: {
stats: {
[]: 10,
[]: 13,
},
cost: 600000,
},
},
},
blessed: {
name: 'Blessed',
wiki: 'https://wiki.hypixel.net/Blessed_Fruit',
appliesTo: [ReforgeTarget.Hoe, ReforgeTarget.Axe],
stone: {
name: 'Blessed Fruit',
id: 'BLESSED_FRUIT',
npc: 1000000,
},
tiers: {
[]: {
stats: {
[]: 5,
[]: 1,
[]: 5,
},
cost: 10000,
},
[]: {
stats: {
[]: 7,
[]: 2,
[]: 7,
},
cost: 10000,
},
[]: {
stats: {
[]: 9,
[]: 3,
[]: 9,
},
cost: 10000,
},
[]: {
stats: {
[]: 13,
[]: 4,
[]: 13,
},
cost: 10000,
},
[]: {
stats: {
[]: 16,
[]: 5,
[]: 16,
},
cost: 10000,
},
[]: {
stats: {
[]: 20,
[]: 6,
[]: 20,
},
cost: 10000,
},
},
},
earthy: {
name: 'Earthy',
wiki: 'https://wiki.hypixel.net/Large_Walnut',
appliesTo: [ReforgeTarget.Axe],
stone: {
name: 'Large Walnut',
id: 'LARGE_WALNUT',
copper: 150,
},
tiers: {
[]: {
stats: {
[]: 2,
[]: 1,
},
cost: 5000,
},
[]: {
stats: {
[]: 4,
[]: 1,
},
cost: 10000,
},
[]: {
stats: {
[]: 6,
[]: 1,
},
cost: 20000,
},
[]: {
stats: {
[]: 8,
[]: 1,
},
cost: 50000,
},
[]: {
stats: {
[]: 10,
[]: 1,
},
cost: 100000,
},
[]: {
stats: {
[]: 12,
[]: 1,
},
cost: 200000,
},
},
},
bustling: {
name: 'Bustling',
wiki: 'https://wiki.hypixel.net/SkyMart_Brochure',
appliesTo: [ReforgeTarget.Armor],
stone: {
name: 'SkyMart Brochure',
id: 'SKYMART_BROCHURE',
copper: 100,
},
tiers: {
[]: {
stats: {
[]: 1,
},
cost: 1000,
},
[]: {
stats: {
[]: 2,
},
cost: 2000,
},
[]: {
stats: {
[]: 4,
},
cost: 3000,
},
[]: {
stats: {
[]: 6,
},
cost: 6000,
},
[]: {
stats: {
[]: 8,
},
cost: 10000,
},
[]: {
stats: {
[]: 10,
},
cost: 15000,
},
},
},
mossy: {
name: 'Mossy',
wiki: 'https://wiki.hypixel.net/Overgrown_Grass',
appliesTo: [ReforgeTarget.Armor],
stone: {
name: 'Overgrown Grass',
id: 'OVERGROWN_GRASS',
copper: 150,
},
tiers: {
[]: {
stats: {
[]: 5,
[]: 3,
},
cost: 20000,
},
[]: {
stats: {
[]: 10,
[]: 3,
},
cost: 40000,
},
[]: {
stats: {
[]: 15,
[]: 5,
},
cost: 80000,
},
[]: {
stats: {
[]: 20,
[]: 5,
},
cost: 150000,
},
[]: {
stats: {
[]: 25,
[]: 7,
},
cost: 300000,
},
[]: {
stats: {
[]: 30,
[]: 7,
},
cost: 600000,
},
},
},
blooming: {
name: 'Blooming',
wiki: 'https://wiki.hypixel.net/Flowering_Bouquet',
appliesTo: [ReforgeTarget.Armor],
stone: {
name: 'Flowering Bouquet',
id: 'FLOWERING_BOUQUET',
},
tiers: {
[]: {
stats: {
[]: 1,
[]: 4,
},
cost: 5000,
},
[]: {
stats: {
[]: 2,
[]: 4,
},
cost: 10000,
},
[]: {
stats: {
[]: 3,
[]: 5,
},
cost: 20000,
},
[]: {
stats: {
[]: 4,
[]: 5,
},
cost: 50000,
},
[]: {
stats: {
[]: 5,
[]: 6,
},
cost: 100000,
},
[]: {
stats: {
[]: 6,
[]: 6,
},
cost: 200000,
},
},
},
rooted: {
name: 'Rooted',
wiki: 'https://wiki.hypixel.net/Burrowing_Spores',
appliesTo: [ReforgeTarget.Equipment],
stone: {
name: 'Burrowing Spores',
id: 'BURROWING_SPORES',
},
tiers: {
[]: {
stats: {
[]: 6,
[]: 2,
},
cost: 20000,
},
[]: {
stats: {
[]: 9,
[]: 5,
},
cost: 40000,
},
[]: {
stats: {
[]: 12,
[]: 8,
},
cost: 80000,
},
[]: {
stats: {
[]: 15,
[]: 11,
},
cost: 150000,
},
[]: {
stats: {
[]: 18,
[]: 14,
},
cost: 300000,
},
[]: {
stats: {
[]: 21,
[]: 17,
},
cost: 600000,
},
},
},
squeaky: {
name: 'Squeaky',
wiki: 'https://wiki.hypixel.net/Squeaky_Toy',
appliesTo: [ReforgeTarget.Equipment],
stone: {
name: 'Squeaky Toy',
id: 'SQUEAKY_TOY',
},
tiers: {
[]: {
stats: {
[]: 2,
[]: 0.5,
},
cost: 7500,
},
[]: {
stats: {
[]: 4,
[]: 0.5,
},
cost: 15000,
},
[]: {
stats: {
[]: 6,
[]: 1,
},
cost: 30000,
},
[]: {
stats: {
[]: 8,
[]: 1.5,
},
cost: 75000,
},
[]: {
stats: {
[]: 10,
[]: 2,
},
cost: 150000,
},
[]: {
stats: {
[]: 12,
[]: 2.5,
},
cost: 150000,
},
[]: {
stats: {
[]: 12,
[]: 2.5,
},
cost: 150000,
},
},
},
};
export const STAT_ICONS = {
[]: '❁',
[]: '❤',
[]: '❈',
[]: '✦',
[]: '✎',
[]: '☣',
[]: '☣',
[]: '⚔',
[]: '๑',
[]: '✯',
[]: '♣',
[]: '❂',
[]: 'α',
[]: '⫽',
[]: '⸕',
[]: '☘',
[]: '☘',
[]: '☘',
[]: '☯',
[]: '☯',
[]: '☯',
[]: '✧',
[]: 'ൠ',
[]: '☘',
[]: '☘',
[]: '☘',
[]: '☘',
[]: '☘',
[]: '☘',
[]: '☘',
[]: '☘',
[]: '☘',
[]: '☘',
[]: '☘',
[]: 'ൠ',
};
export const RARITY_COLORS = {
[]: '§f',
[]: '§a',
[]: '§9',
[]: '§5',
[]: '§6',
[]: '§d',
[]: '§b',
[]: '§c',
[]: '§c',
[]: '§4',
[]: '§4',
};
//# sourceMappingURL=reforges.js.map