From e43738827d9896791cff3ac663e3e162c98724e2 Mon Sep 17 00:00:00 2001 From: Ignose Date: Sat, 11 Nov 2023 08:07:18 -0500 Subject: [PATCH] Can't use leaves to meteor shower --- src/tasks/leveling.ts | 2 +- src/tasks/spelldamage.ts | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/tasks/leveling.ts b/src/tasks/leveling.ts index 1addda4..6a19c9d 100644 --- a/src/tasks/leveling.ts +++ b/src/tasks/leveling.ts @@ -838,7 +838,7 @@ export const LevelingQuest: Quest = { { name: "Free Fight Leafy Boys", completed: () => - get("_leafMonstersFought", 0) >= 4 || !have($item`inflammable leaf`, 11) || saveLeafyBoys(), + get("_leafMonstersFought", 0) >= 5 || !have($item`inflammable leaf`, 11) || saveLeafyBoys(), do: (): void => { visitUrl("campground.php?preaction=leaves"); visitUrl("choice.php?pwd&whichchoice=1510&option=1&leaves=11"); diff --git a/src/tasks/spelldamage.ts b/src/tasks/spelldamage.ts index 97cc42e..c34798c 100644 --- a/src/tasks/spelldamage.ts +++ b/src/tasks/spelldamage.ts @@ -179,14 +179,9 @@ export const SpellDamageQuest: Quest = { !have($skill`Meteor Lore`) || get("_saberForceUses") >= 5, do: (): void => { - if (get("_leafMonstersFought", 0) < 5 && have($item`inflammable leaf`, 11)) { - visitUrl("campground.php?preaction=leaves"); - visitUrl("choice.php?pwd&whichchoice=1510&option=1&leaves=11"); - } else { - for (const barrel of barrels) { - visitUrl("barrel.php"); - visitUrl(`choice.php?whichchoice=1099&pwd&option=1&slot=${barrel}`); - } + for (const barrel of barrels) { + visitUrl("barrel.php"); + visitUrl(`choice.php?whichchoice=1099&pwd&option=1&slot=${barrel}`); } }, combat: new CombatStrategy().macro(