From 92452e240c181aa067326579b126fa7ef2b598bb Mon Sep 17 00:00:00 2001 From: maxswa Date: Sat, 25 Nov 2023 21:46:24 -0500 Subject: [PATCH] Add `Scurrius` --- README.md | 1 + __tests__/b0atyStats.csv | 1 + __tests__/b0atyStats.json | 43 +++++++++++++++++++------------------- __tests__/hiscores.test.ts | 2 ++ src/types.ts | 1 + src/utils/constants.ts | 2 ++ 6 files changed, 29 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index a4ef0a7..91e07c8 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses | Phantom Muspah | `phantomMuspah` | | Sarachnis | `sarachnis` | | Scorpia | `scorpia` | +| Scurrius | `scurrius` | | Skotizo | `skotizo` | | Spindel | `spindel` | | Tempoross | `tempoross` | diff --git a/__tests__/b0atyStats.csv b/__tests__/b0atyStats.csv index 866f794..388c5bc 100644 --- a/__tests__/b0atyStats.csv +++ b/__tests__/b0atyStats.csv @@ -76,6 +76,7 @@ 21848,251 66260,119 108898,26 +23958,90 373975,9 2005,1569 40001,273 diff --git a/__tests__/b0atyStats.json b/__tests__/b0atyStats.json index 6f1b333..1f91974 100644 --- a/__tests__/b0atyStats.json +++ b/__tests__/b0atyStats.json @@ -161,41 +161,42 @@ { "id": 51, "name": "Phantom Muspah", "rank": 21848, "score": 251 }, { "id": 52, "name": "Sarachnis", "rank": 66260, "score": 119 }, { "id": 53, "name": "Scorpia", "rank": 108898, "score": 26 }, - { "id": 54, "name": "Skotizo", "rank": 373975, "score": 9 }, - { "id": 55, "name": "Spindel", "rank": 2005, "score": 1569 }, - { "id": 56, "name": "Tempoross", "rank": 40001, "score": 273 }, - { "id": 57, "name": "The Gauntlet", "rank": 192608, "score": 7 }, - { "id": 58, "name": "The Corrupted Gauntlet", "rank": 78367, "score": 201 }, - { "id": 59, "name": "The Leviathan", "rank": 5679, "score": 583 }, - { "id": 60, "name": "The Whisperer", "rank": 478, "score": 1760 }, - { "id": 61, "name": "Theatre of Blood", "rank": 22932, "score": 250 }, + { "id": 54, "name": "Scurrius", "rank": 23958, "score": 90 }, + { "id": 55, "name": "Skotizo", "rank": 373975, "score": 9 }, + { "id": 56, "name": "Spindel", "rank": 2005, "score": 1569 }, + { "id": 57, "name": "Tempoross", "rank": 40001, "score": 273 }, + { "id": 58, "name": "The Gauntlet", "rank": 192608, "score": 7 }, + { "id": 59, "name": "The Corrupted Gauntlet", "rank": 78367, "score": 201 }, + { "id": 60, "name": "The Leviathan", "rank": 5679, "score": 583 }, + { "id": 61, "name": "The Whisperer", "rank": 478, "score": 1760 }, + { "id": 62, "name": "Theatre of Blood", "rank": 22932, "score": 250 }, { - "id": 62, + "id": 63, "name": "Theatre of Blood: Hard Mode", "rank": 15059, "score": 7 }, { - "id": 63, + "id": 64, "name": "Thermonuclear Smoke Devil", "rank": 7161, "score": 3066 }, - { "id": 64, "name": "Tombs of Amascut", "rank": 101555, "score": 35 }, + { "id": 65, "name": "Tombs of Amascut", "rank": 101555, "score": 35 }, { - "id": 65, + "id": 66, "name": "Tombs of Amascut: Expert Mode", "rank": 610, "score": 933 }, - { "id": 66, "name": "TzKal-Zuk", "rank": 15733, "score": 2 }, - { "id": 67, "name": "TzTok-Jad", "rank": -1, "score": -1 }, - { "id": 68, "name": "Vardorvis", "rank": 2051, "score": 2078 }, - { "id": 69, "name": "Venenatis", "rank": 194, "score": 7096 }, - { "id": 70, "name": "Vet'ion", "rank": 69260, "score": 51 }, - { "id": 71, "name": "Vorkath", "rank": 14039, "score": 2780 }, - { "id": 72, "name": "Wintertodt", "rank": 876367, "score": 62 }, - { "id": 73, "name": "Zalcano", "rank": 165341, "score": 25 }, - { "id": 74, "name": "Zulrah", "rank": 226318, "score": 275 } + { "id": 67, "name": "TzKal-Zuk", "rank": 15733, "score": 2 }, + { "id": 68, "name": "TzTok-Jad", "rank": -1, "score": -1 }, + { "id": 69, "name": "Vardorvis", "rank": 2051, "score": 2078 }, + { "id": 70, "name": "Venenatis", "rank": 194, "score": 7096 }, + { "id": 71, "name": "Vet'ion", "rank": 69260, "score": 51 }, + { "id": 72, "name": "Vorkath", "rank": 14039, "score": 2780 }, + { "id": 73, "name": "Wintertodt", "rank": 876367, "score": 62 }, + { "id": 74, "name": "Zalcano", "rank": 165341, "score": 25 }, + { "id": 75, "name": "Zulrah", "rank": 226318, "score": 275 } ] } diff --git a/__tests__/hiscores.test.ts b/__tests__/hiscores.test.ts index 7ff3efd..6e18904 100644 --- a/__tests__/hiscores.test.ts +++ b/__tests__/hiscores.test.ts @@ -139,6 +139,7 @@ test('Parse CSV to json', () => { 44,6233 201,1101 82,3404 + 555,7079 5085,61 678,903 18823,23 @@ -247,6 +248,7 @@ test('Parse CSV to json', () => { phantomMuspah: { rank: 44, score: 6233 }, sarachnis: { rank: 201, score: 1101 }, scorpia: { rank: 82, score: 3404 }, + scurrius: { rank: 555, score: 7079 }, skotizo: { rank: 5085, score: 61 }, spindel: { rank: 678, score: 903 }, tempoross: { rank: 18823, score: 23 }, diff --git a/src/types.ts b/src/types.ts index 7c43975..a5ab330 100644 --- a/src/types.ts +++ b/src/types.ts @@ -104,6 +104,7 @@ export type Boss = | 'phantomMuspah' | 'sarachnis' | 'scorpia' + | 'scurrius' | 'skotizo' | 'spindel' | 'tempoross' diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 9d87442..2e01be8 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -111,6 +111,7 @@ export const BOSSES: Boss[] = [ 'phantomMuspah', 'sarachnis', 'scorpia', + 'scurrius', 'skotizo', 'spindel', 'tempoross', @@ -196,6 +197,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = { phantomMuspah: 'Phantom Muspah', sarachnis: 'Sarachnis', scorpia: 'Scorpia', + scurrius: 'Scurrius', skotizo: 'Skotizo', spindel: 'Spindel', tempoross: 'Tempoross',