Skip to content

Commit

Permalink
Add rest upside down as a restore MP option
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignose committed Nov 4, 2024
1 parent 41db10d commit a491935
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/tasks/leveling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ const godLobsterChoice = () => (have($item`God Lobster's Ring`) ? 2 : 3);
const godLobsterSave = () => computeCombatFrequency(false) === -95;

export function restoreMPEfficiently(): string {
if (have($item`bat wings`) && get("_batWingsRestUsed", 0) < 11) return "Bat Wings";
if (have($item`magical sausage`)) return "Sausage";
if (!get("_latteDrinkUsed", false) && have($item`latte lovers member's mug`)) return "Gulp";
if (have($item`magical sausage casing`) && myMeat() >= 3000) return "Make Sausage";
Expand Down Expand Up @@ -1019,6 +1020,15 @@ export const LevelingQuest: Quest = {
post: () => autosell($item`meat stack`, itemAmount($item`meat stack`)),
limit: { tries: 23 },
},
{
name: "Rest Upside Down",
ready: () => restoreMPEfficiently() === "Bat Wings",
completed: () => myMp() >= 75 || restoreMPEfficiently() !== "Bat Wings",
do: (): void => {
cliExecute("cast rest upside down");
},
limit: { tries: 11 },
},
{
name: "Restore MP with Glowing Blue",
ready: () => restoreMPEfficiently() === "Blue Rocket",
Expand Down

0 comments on commit a491935

Please sign in to comment.