diff --git a/README.md b/README.md index 7103c3c..9530b93 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses | Vetion | `vetion` | | Vorkath | `vorkath` | | Wintertodt | `wintertodt` | +| Yama | `yama` | | Zalcano | `zalcano` | | Zulrah | `zulrah` | diff --git a/__tests__/b0atyStats.csv b/__tests__/b0atyStats.csv index bca0619..4c6dc80 100644 --- a/__tests__/b0atyStats.csv +++ b/__tests__/b0atyStats.csv @@ -104,5 +104,6 @@ 97368,51 15591,2780 1000405,67 +19722,173 213696,25 240082,340 \ No newline at end of file diff --git a/__tests__/b0atyStats.json b/__tests__/b0atyStats.json index 2f3c0d6..4b99183 100644 --- a/__tests__/b0atyStats.json +++ b/__tests__/b0atyStats.json @@ -664,12 +664,18 @@ }, { "id": 82, + "name": "Yama", + "rank": 19722, + "score": 173 + }, + { + "id": 83, "name": "Zalcano", "rank": 213696, "score": 25 }, { - "id": 83, + "id": 84, "name": "Zulrah", "rank": 240082, "score": 340 diff --git a/__tests__/hiscores.test.ts b/__tests__/hiscores.test.ts index 2000e1f..edaa4b6 100644 --- a/__tests__/hiscores.test.ts +++ b/__tests__/hiscores.test.ts @@ -178,6 +178,7 @@ test('Parse CSV to json', () => { 1940,272 8623,1340 605,1694 + 15233,245 -1,-1 3867,4583`; @@ -295,6 +296,7 @@ test('Parse CSV to json', () => { vetion: { rank: 1940, score: 272 }, vorkath: { rank: 8623, score: 1340 }, wintertodt: { rank: 605, score: 1694 }, + yama: { rank: 15233, score: 245 }, zalcano: { rank: -1, score: -1 }, zulrah: { rank: 3867, score: 4583 } } diff --git a/src/types.ts b/src/types.ts index 45bd2cf..c899bcc 100644 --- a/src/types.ts +++ b/src/types.ts @@ -130,6 +130,7 @@ export type Boss = | 'vetion' | 'vorkath' | 'wintertodt' + | 'yama' | 'zalcano' | 'zulrah'; diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 99a6aff..579a38e 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -137,6 +137,7 @@ export const BOSSES: Boss[] = [ 'vetion', 'vorkath', 'wintertodt', + 'yama', 'zalcano', 'zulrah' ]; @@ -231,6 +232,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = { vetion: "Vet'ion", vorkath: 'Vorkath', wintertodt: 'Wintertodt', + yama: 'Yama', zalcano: 'Zalcano', zulrah: 'Zulrah' };