Fix bug with excluding last tier from item pools
parent
51b1e76da7
commit
14912541c5
|
@ -1169,7 +1169,7 @@ export function regenerateModifierPoolThresholds(party: Pokemon[], poolType: Mod
|
||||||
}
|
}
|
||||||
const ignoredIndexes = {};
|
const ignoredIndexes = {};
|
||||||
const modifierTableData = {};
|
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] = [];
|
ignoredIndexes[t] = [];
|
||||||
const thresholds = new Map();
|
const thresholds = new Map();
|
||||||
const tierModifierIds: string[] = [];
|
const tierModifierIds: string[] = [];
|
||||||
|
|
Loading…
Reference in New Issue