aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock/skills.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-20 22:21:36 -0500
committermat <github@matdoes.dev>2022-05-20 22:21:36 -0500
commit3d1506341d77e9271df9ec1091b4871d61544a67 (patch)
tree8b6e24f668f4851b4e3bac8324bc3cfd1930b9dd /src/cleaners/skyblock/skills.ts
parent5c15da11a4f3fbc308b90dcf5099d81ea521b2e6 (diff)
downloadskyblock-api-3d1506341d77e9271df9ec1091b4871d61544a67.tar.gz
skyblock-api-3d1506341d77e9271df9ec1091b4871d61544a67.tar.bz2
skyblock-api-3d1506341d77e9271df9ec1091b4871d61544a67.zip
oopsies
Diffstat (limited to 'src/cleaners/skyblock/skills.ts')
-rw-r--r--src/cleaners/skyblock/skills.ts18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cleaners/skyblock/skills.ts b/src/cleaners/skyblock/skills.ts
index 9f53e5a..2f7f453 100644
--- a/src/cleaners/skyblock/skills.ts
+++ b/src/cleaners/skyblock/skills.ts
@@ -169,15 +169,15 @@ function skillsFromSkyBlockAchievements(achievements: CleanFullPlayer['achieveme
return {
apiEnabled: false,
list: [
- skillFromLevel('fishing', achievements.tiered.find(a => a.id === 'angler')?.value ?? 0),
- skillFromLevel('enchanting', achievements.tiered.find(a => a.id === 'augmentation')?.value ?? 0),
- skillFromLevel('combat', achievements.tiered.find(a => a.id === 'combat')?.value ?? 0),
- skillFromLevel('alchemy', achievements.tiered.find(a => a.id === 'concoctor')?.value ?? 0),
- skillFromLevel('taming', achievements.tiered.find(a => a.id === 'domesticator')?.value ?? 0),
- skillFromLevel('dungeoneering', achievements.tiered.find(a => a.id === 'dungeoneer')?.value ?? 0),
- skillFromLevel('mining', achievements.tiered.find(a => a.id === 'excavator')?.value ?? 0),
- skillFromLevel('foraging', achievements.tiered.find(a => a.id === 'gatherer')?.value ?? 0),
- skillFromLevel('farming', achievements.tiered.find(a => a.id === 'harvester')?.value ?? 0)
+ skillFromLevel('fishing', achievements.tiered.find(a => a.id === 'angler')?.amount ?? 0),
+ skillFromLevel('enchanting', achievements.tiered.find(a => a.id === 'augmentation')?.amount ?? 0),
+ skillFromLevel('combat', achievements.tiered.find(a => a.id === 'combat')?.amount ?? 0),
+ skillFromLevel('alchemy', achievements.tiered.find(a => a.id === 'concoctor')?.amount ?? 0),
+ skillFromLevel('taming', achievements.tiered.find(a => a.id === 'domesticator')?.amount ?? 0),
+ skillFromLevel('dungeoneering', achievements.tiered.find(a => a.id === 'dungeoneer')?.amount ?? 0),
+ skillFromLevel('mining', achievements.tiered.find(a => a.id === 'excavator')?.amount ?? 0),
+ skillFromLevel('foraging', achievements.tiered.find(a => a.id === 'gatherer')?.amount ?? 0),
+ skillFromLevel('farming', achievements.tiered.find(a => a.id === 'harvester')?.amount ?? 0)
]
}
}