Fix bug with excluding last tier from item pools

pull/16/head
Flashfyre 2024-03-16 22:26:52 -04:00
parent 51b1e76da7
commit 14912541c5
1 changed files with 1 additions and 1 deletions

View File

@ -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[] = [];