mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
Reduce instead of Remove
This commit is contained in:
parent
2f3bcf6abb
commit
4c2507bd7a
@ -1280,6 +1280,7 @@ 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; }),
|
||||
|
@ -1423,7 +1423,7 @@ export class ExpBalanceModifier extends PersistentModifier {
|
||||
}
|
||||
|
||||
getMaxStackCount(scene: BattleScene): integer {
|
||||
return 5;
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -868,8 +868,9 @@ export class GameData {
|
||||
if (v === null)
|
||||
v = [];
|
||||
for (let md of v) {
|
||||
if(md?.className !== 'ExpBalanceModifier') // Temporarily disable EXP Balance until it gets reworked
|
||||
ret.push(new PersistentModifierData(md, player));
|
||||
if(md?.className === 'ExpBalanceModifier') // Temporarily limit EXP Balance until it gets reworked
|
||||
md.stackCount = Math.min(md.stackCount, 2);
|
||||
ret.push(new PersistentModifierData(md, player));
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user