From 942b35dec7983b8333946bee2338ad0e68d7c647 Mon Sep 17 00:00:00 2001 From: Ignose Date: Fri, 10 Nov 2023 12:08:14 -0500 Subject: [PATCH] Ensure we check all barrels! --- src/tasks/earlyleveling.ts | 2 ++ src/tasks/spelldamage.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tasks/earlyleveling.ts b/src/tasks/earlyleveling.ts index 8acb4a9..0f793fc 100644 --- a/src/tasks/earlyleveling.ts +++ b/src/tasks/earlyleveling.ts @@ -251,6 +251,8 @@ export const earlyLevelingQuest: Quest = { ), outfit: () => ({ ...baseOutfit(false), + familiar: have($familiar`Melodramedary`) ? $familiar`Melodramedary` : undefined, + acc2: have($item`Lil' Doctorâ„¢ bag`) ? $item`Lil' Doctorâ„¢ bag` : undefined, modifier: `${baseOutfit().modifier}, -equip miniature crystal ball`, }), post: (): void => { diff --git a/src/tasks/spelldamage.ts b/src/tasks/spelldamage.ts index 9d460e4..acc0c1a 100644 --- a/src/tasks/spelldamage.ts +++ b/src/tasks/spelldamage.ts @@ -52,8 +52,8 @@ import { chooseFamiliar, sugarItemsAboutToBreak } from "../engine/outfit"; import { args } from "../args"; let triedDeepDark = false; -// eslint-disable-next-line no-octal -const barrels = [10, 11, 12, 20, 21, 22]; + +const barrels: string[] = [`00`, `01`, `02`, `10`, `11`, `12`, `20`, `21`, `22`]; export const SpellDamageQuest: Quest = { name: "Spell Damage",