Skip to content

Commit

Permalink
add phosani's nightmare to api
Browse files Browse the repository at this point in the history
  • Loading branch information
Not-Jayden committed Jul 1, 2021
1 parent 04e59cf commit aa6fd6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/hiscores.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ test('Parse CSV to json', () => {
120,2981
1,109
3,22666
2,84
26,323
201,1101
82,3404
Expand Down Expand Up @@ -212,6 +213,7 @@ test('Parse CSV to json', () => {
krilTsutsaroth: { rank: 120, score: 2981 },
mimic: { rank: 1, score: 109 },
nightmare: { rank: 3, score: 22666 },
phosanisNightmare: { rank: 2, score: 84},
obor: { rank: 26, score: 323 },
sarachnis: { rank: 201, score: 1101 },
scorpia: { rank: 82, score: 3404 },
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export type Boss =
| 'krilTsutsaroth'
| 'mimic'
| 'nightmare'
| 'phosanisNightmare'
| 'obor'
| 'sarachnis'
| 'scorpia'
Expand Down
2 changes: 2 additions & 0 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export const BOSSES: Boss[] = [
'krilTsutsaroth',
'mimic',
'nightmare',
'phosanisNightmare',
'obor',
'sarachnis',
'scorpia',
Expand Down Expand Up @@ -166,6 +167,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
krilTsutsaroth: "K'ril Tsutsaroth",
mimic: 'Mimic',
nightmare: 'The Nightmare of Ashihama',
phosanisNightmare: "Phosani's Nightmare",
obor: 'Obor',
sarachnis: 'Sarachnis',
scorpia: 'Scorpia',
Expand Down

0 comments on commit aa6fd6f

Please sign in to comment.