Skip to content

Commit

Permalink
Merge pull request #88 from maxswa/scurrius
Browse files Browse the repository at this point in the history
Add Scurrius
  • Loading branch information
maxswa authored Jan 24, 2024
2 parents 01150b6 + 92452e2 commit b3f81e6
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 22 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,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` |
Expand Down
1 change: 1 addition & 0 deletions __tests__/b0atyStats.csv
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
21848,251
66260,119
108898,26
23958,90
373975,9
2005,1569
40001,273
Expand Down
45 changes: 23 additions & 22 deletions __tests__/b0atyStats.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": 62,
{ "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": 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 }
]
}
2 changes: 2 additions & 0 deletions __tests__/hiscores.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ test('Parse CSV to json', () => {
44,6233
201,1101
82,3404
555,7079
5085,61
678,903
18823,23
Expand Down Expand Up @@ -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 },
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export type Boss =
| 'phantomMuspah'
| 'sarachnis'
| 'scorpia'
| 'scurrius'
| 'skotizo'
| 'spindel'
| 'tempoross'
Expand Down
2 changes: 2 additions & 0 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export const BOSSES: Boss[] = [
'phantomMuspah',
'sarachnis',
'scorpia',
'scurrius',
'skotizo',
'spindel',
'tempoross',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit b3f81e6

Please sign in to comment.