Skip to content

Commit

Permalink
Merge pull request #484 from m-h-c-t/spooky-shuffle-add-conv
Browse files Browse the repository at this point in the history
Add 'convertible' to spooky shuffle item map
  • Loading branch information
AardWolf authored Oct 16, 2023
2 parents f1dfe10 + 759e8fc commit 7d0295f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/modules/ajax-handlers/spookyShuffle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class SpookyShuffleAjaxHandler extends AjaxSuccessHandler {

async fetchItemNameToIdMap(): Promise<Record<string, number>> {
// async fetch of all items that are of the same classification of the rewards in spooky shuffle
const itemArray = await hgFuncs.getItemsByClass(['bait', 'stat', 'trinket', 'crafting_item', 'potion'], true);
const itemArray = await hgFuncs.getItemsByClass(['bait', 'stat', 'trinket', 'crafting_item', 'potion', 'convertible'], true);

const itemMap = itemArray.reduce((map: Record<string, number>, item) => {
map[item.name] = parseHgInt(item.item_id);
Expand Down

0 comments on commit 7d0295f

Please sign in to comment.