mirror of
https://github.com/maxswa/osrs-json-hiscores.git
synced 2025-10-15 10:19:04 +00:00
add comment
This commit is contained in:
@@ -96,10 +96,11 @@ export function parseStats(csv: string, mode: Gamemode = 'main'): Stats {
|
||||
};
|
||||
return activity;
|
||||
});
|
||||
|
||||
|
||||
/** `seasonal` API results don't currently include TOB: Hard Mode, so it needs to be filtered out in that case. */
|
||||
const filteredBosses =
|
||||
mode === 'seasonal'
|
||||
? BOSSES.filter((boss) => boss !== 'tempoross')
|
||||
? BOSSES.filter((boss) => boss !== 'theatreOfBloodHardMode')
|
||||
: BOSSES;
|
||||
|
||||
const [leaguePoints] = activityObjects.splice(0, 1);
|
||||
|
Reference in New Issue
Block a user