From 14912541c5dce07b179e9b506de3722cb9e99643 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sat, 16 Mar 2024 22:26:52 -0400 Subject: [PATCH] Fix bug with excluding last tier from item pools --- src/modifier/modifier-type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modifier/modifier-type.ts b/src/modifier/modifier-type.ts index cdb1941f7..5e971c397 100644 --- a/src/modifier/modifier-type.ts +++ b/src/modifier/modifier-type.ts @@ -1169,7 +1169,7 @@ export function regenerateModifierPoolThresholds(party: Pokemon[], poolType: Mod } const ignoredIndexes = {}; const modifierTableData = {}; - const thresholds = Object.fromEntries(new Map(Object.keys(pool).slice(0, -1).map(t => { + const thresholds = Object.fromEntries(new Map(Object.keys(pool).map(t => { ignoredIndexes[t] = []; const thresholds = new Map(); const tierModifierIds: string[] = [];