mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-29 12:17:13 +00:00
Fix bug with excluding last tier from item pools
This commit is contained in:
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…
x
Reference in New Issue
Block a user