Removes EXP Balance

This commit is contained in:
Benjamin Odom 2024-05-19 09:54:17 -05:00
parent 608a968db4
commit 2f3bcf6abb
2 changed files with 4 additions and 3 deletions

View File

@ -1280,7 +1280,6 @@ const modifierPool: ModifierPool = {
new WeightedModifierType(modifierTypes.IV_SCANNER, 4),
new WeightedModifierType(modifierTypes.EXP_CHARM, 8),
new WeightedModifierType(modifierTypes.EXP_SHARE, 12),
new WeightedModifierType(modifierTypes.EXP_BALANCE, 4),
new WeightedModifierType(modifierTypes.TERA_ORB, (party: Pokemon[]) => Math.min(Math.max(Math.floor(party[0].scene.currentBattle.waveIndex / 50) * 2, 1), 4), 4),
new WeightedModifierType(modifierTypes.VOUCHER, (party: Pokemon[], rerollCount: integer) => !party[0].scene.gameMode.isDaily ? Math.max(3 - rerollCount, 0) : 0, 3),
].map(m => { m.setTier(ModifierTier.ULTRA); return m; }),

View File

@ -867,8 +867,10 @@ export class GameData {
const ret: PersistentModifierData[] = [];
if (v === null)
v = [];
for (let md of v)
ret.push(new PersistentModifierData(md, player));
for (let md of v) {
if(md?.className !== 'ExpBalanceModifier') // Temporarily disable EXP Balance until it gets reworked
ret.push(new PersistentModifierData(md, player));
}
return ret;
}