Fix TMs in modifier pool replaced with temp stat booster

pull/1/head
Flashfyre 2023-04-20 23:47:15 -04:00
parent edce08b35c
commit 4eb44003b2
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ const modifierPool = {
const thresholdPartyMemberCount = party.filter(p => p.hp && p.moveset.filter(m => (m.getMove().pp - m.ppUsed) <= 5).length).length; const thresholdPartyMemberCount = party.filter(p => p.hp && p.moveset.filter(m => (m.getMove().pp - m.ppUsed) <= 5).length).length;
return Math.ceil(thresholdPartyMemberCount / 1.5); return Math.ceil(thresholdPartyMemberCount / 1.5);
}), }),
new WeightedModifierType(modifierTypes.TEMP_STAT_BOOSTER, 4), new WeightedModifierType(modifierTypes.TM, 4),
new WeightedModifierType(modifierTypes.EXP_SHARE, 2), new WeightedModifierType(modifierTypes.EXP_SHARE, 2),
new WeightedModifierType(modifierTypes.BASE_STAT_BOOSTER, 4) new WeightedModifierType(modifierTypes.BASE_STAT_BOOSTER, 4)
].map(m => { m.setTier(ModifierTier.GREAT); return m; }), ].map(m => { m.setTier(ModifierTier.GREAT); return m; }),