aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-06-02 16:39:59 -0500
committermat <github@matdoes.dev>2021-06-02 16:39:59 -0500
commitafa451371b7d685c31dac2dc18471fa0cc3af578 (patch)
tree3479479d70c345668bbfd591788031c360aa298b /src/cleaners
parent709d428b4cb94e8eca53b6f32e0f8b1be5a323b9 (diff)
downloadskyblock-api-afa451371b7d685c31dac2dc18471fa0cc3af578.tar.gz
skyblock-api-afa451371b7d685c31dac2dc18471fa0cc3af578.tar.bz2
skyblock-api-afa451371b7d685c31dac2dc18471fa0cc3af578.zip
include the max level of the skill
Diffstat (limited to 'src/cleaners')
-rw-r--r--src/cleaners/skyblock/skills.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cleaners/skyblock/skills.ts b/src/cleaners/skyblock/skills.ts
index fa27217..9076a82 100644
--- a/src/cleaners/skyblock/skills.ts
+++ b/src/cleaners/skyblock/skills.ts
@@ -5,6 +5,8 @@ export interface Skill {
xp: number
level: number
+ maxLevel: number
+
levelXp: number
levelXpRequired: number
}
@@ -70,6 +72,7 @@ export async function cleanSkills(data: any): Promise<Skill[]> {
name: skillName,
xp: skillXp,
level: skillLevel,
+ maxLevel: skillMaxLevel,
levelXp: skillLevelXp,
levelXpRequired: skillLevelXpRequired
})