Skip to content

Commit

Permalink
fix runeify?
Browse files Browse the repository at this point in the history
Signed-off-by: gemsvidø <gemsvido@gmail.com>
  • Loading branch information
afkvido authored Sep 11, 2022
1 parent afc6df9 commit 5d8134a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cheatGUI/src/utils/hackify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ export const itemify = (item: Item[], amount: number) =>

// Convert rune to Rune ID map
// @ts-expect-error
export const runeify = ((item, amount) => {
export const runeify = (item, amount) =>
// @ts-expect-error
item.map(x => ({
ID: x.ID,
quantity: amount
// @ts-expect-error
})).filter(v => v !== undefined)
}).filter(v => v !== undefined)
});


Expand Down Expand Up @@ -107,4 +107,4 @@ export const getPet = async (text: string): Promise<number | undefined> => {
text: text
});
return pet.value;
};
};

4 comments on commit 5d8134a

@hostedposted

This comment was marked as abuse.

@afkvido
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get All Runes literally works, it's just P-NP breaks Rune Run.

@hostedposted

This comment was marked as abuse.

@afkvido
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mhm

Please sign in to comment.