Skip to content

Commit

Permalink
Can't use leaves to meteor shower
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignose committed Nov 11, 2023
1 parent 000af5e commit e437388
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/tasks/leveling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
11 changes: 3 additions & 8 deletions src/tasks/spelldamage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e437388

Please sign in to comment.