diff options
Diffstat (limited to 'src/cleaners/skyblock/skills.ts')
-rw-r--r-- | src/cleaners/skyblock/skills.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/skills.ts b/src/cleaners/skyblock/skills.ts index 04f3002..7aa4e2c 100644 --- a/src/cleaners/skyblock/skills.ts +++ b/src/cleaners/skyblock/skills.ts @@ -146,7 +146,7 @@ export async function cleanSkills(data: any): Promise<Skill[]> { const skillMaxLevel = skillsMaxLevel[skillName] ?? skillsDefaultMaxLevel - const xpTable = skillMaxLevel <= 25 ? skillXpTableEasier : skillXpTable + const xpTable = (skillMaxLevel <= 25 ? skillXpTableEasier : skillXpTable).slice(0, skillMaxLevel) // the level you're at for this skill const skillLevel = levelForSkillXp(skillXp, skillMaxLevel) |