From f45ae6781365bc58e213bd98d4cc7724305b3ba3 Mon Sep 17 00:00:00 2001 From: maxswa Date: Wed, 12 Apr 2023 12:42:37 -0400 Subject: [PATCH] Add wilderness boss variants. --- README.md | 3 +++ __tests__/hiscores.test.ts | 6 ++++++ __tests__/lynxTitanStats.csv | 3 +++ src/types.ts | 3 +++ src/utils/constants.ts | 6 ++++++ 5 files changed, 21 insertions(+) diff --git a/README.md b/README.md index 20e6155..6ac01ff 100644 --- a/README.md +++ b/README.md @@ -125,9 +125,11 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses | --------------------------------- | :----------------------------: | | Abyssal Sire | `abyssalSire` | | Alchemical Hydra | `alchemicalHydra` | +| Artio | `artio` | | Barrows Chests | `barrows` | | Bryophyta | `bryophyta` | | Callisto | `callisto` | +| Cal'varion | `calvarion` | | Cerberus | `cerberus` | | Chambers Of Xeric | `chambersOfXeric` | | Chambers Of Xeric: Challenge Mode | `chambersOfXericChallengeMode` | @@ -158,6 +160,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses | Sarachnis | `sarachnis` | | Scorpia | `scorpia` | | Skotizo | `skotizo` | +| Spindel | `spindel` | | Tempoross | `tempoross` | | The Gauntlet | `gauntlet` | | The Corrupted Gauntlet | `corruptedGauntlet` | diff --git a/__tests__/hiscores.test.ts b/__tests__/hiscores.test.ts index a482da7..8467d47 100644 --- a/__tests__/hiscores.test.ts +++ b/__tests__/hiscores.test.ts @@ -92,9 +92,11 @@ test('Parse CSV to json', () => { 25,1110 382,2780 944,3000 + 704,892 1981,1452 4981,23 888,1046 + 444,792 613,4856 102,4038 156,334 @@ -125,6 +127,7 @@ test('Parse CSV to json', () => { 201,1101 82,3404 5085,61 + 678,903 18823,23 63,375 2870,6 @@ -190,9 +193,11 @@ test('Parse CSV to json', () => { bosses: { abyssalSire: { rank: 382, score: 2780 }, alchemicalHydra: { rank: 944, score: 3000 }, + artio: { rank: 704, score: 892 }, barrows: { rank: 1981, score: 1452 }, bryophyta: { rank: 4981, score: 23 }, callisto: { rank: 888, score: 1046 }, + calvarion: { rank: 444, score: 792 }, cerberus: { rank: 613, score: 4856 }, chambersOfXeric: { rank: 102, score: 4038 }, chambersOfXericChallengeMode: { rank: 156, score: 334 }, @@ -223,6 +228,7 @@ test('Parse CSV to json', () => { sarachnis: { rank: 201, score: 1101 }, scorpia: { rank: 82, score: 3404 }, skotizo: { rank: 5085, score: 61 }, + spindel: { rank: 678, score: 903 }, tempoross: { rank: 18823, score: 23 }, gauntlet: { rank: 63, score: 375 }, corruptedGauntlet: { rank: 2870, score: 6 }, diff --git a/__tests__/lynxTitanStats.csv b/__tests__/lynxTitanStats.csv index 475d56b..a17fc2b 100644 --- a/__tests__/lynxTitanStats.csv +++ b/__tests__/lynxTitanStats.csv @@ -86,4 +86,7 @@ -1,-1 -1,-1 -1,-1 +-1,-1 +-1,-1 +-1,-1 -1,-1 \ No newline at end of file diff --git a/src/types.ts b/src/types.ts index cd41995..7677cd4 100644 --- a/src/types.ts +++ b/src/types.ts @@ -67,9 +67,11 @@ export type BH = { [Type in BHType]: Activity }; export type Boss = | 'abyssalSire' | 'alchemicalHydra' + | 'artio' | 'barrows' | 'bryophyta' | 'callisto' + | 'calvarion' | 'cerberus' | 'chambersOfXeric' | 'chambersOfXericChallengeMode' @@ -100,6 +102,7 @@ export type Boss = | 'sarachnis' | 'scorpia' | 'skotizo' + | 'spindel' | 'tempoross' | 'gauntlet' | 'corruptedGauntlet' diff --git a/src/utils/constants.ts b/src/utils/constants.ts index eb078aa..029149c 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -75,9 +75,11 @@ export const GAMEMODES: Gamemode[] = [ export const BOSSES: Boss[] = [ 'abyssalSire', 'alchemicalHydra', + 'artio', 'barrows', 'bryophyta', 'callisto', + 'calvarion', 'cerberus', 'chambersOfXeric', 'chambersOfXericChallengeMode', @@ -108,6 +110,7 @@ export const BOSSES: Boss[] = [ 'sarachnis', 'scorpia', 'skotizo', + 'spindel', 'tempoross', 'gauntlet', 'corruptedGauntlet', @@ -150,9 +153,11 @@ export type FormattedBossNames = { export const FORMATTED_BOSS_NAMES: FormattedBossNames = { abyssalSire: 'Abyssal Sire', alchemicalHydra: 'Alchemical Hydra', + artio: 'Artio', barrows: 'Barrows Chests', bryophyta: 'Bryophyta', callisto: 'Callisto', + calvarion: "Cal'varion", cerberus: 'Cerberus', chambersOfXeric: 'Chambers of Xeric', chambersOfXericChallengeMode: 'Chambers of Xeric: Challenge Mode', @@ -183,6 +188,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = { sarachnis: 'Sarachnis', scorpia: 'Scorpia', skotizo: 'Skotizo', + spindel: 'Spindel', tempoross: 'Tempoross', gauntlet: 'The Gauntlet', corruptedGauntlet: 'The Corrupted Gauntlet',