Set max to 4

This commit is contained in:
Benjamin Odom 2024-05-20 04:00:03 -05:00
parent 4c2507bd7a
commit 58a3732940
2 changed files with 2 additions and 2 deletions

View File

@ -1423,7 +1423,7 @@ export class ExpBalanceModifier extends PersistentModifier {
} }
getMaxStackCount(scene: BattleScene): integer { getMaxStackCount(scene: BattleScene): integer {
return 2; return 4;
} }
} }

View File

@ -869,7 +869,7 @@ export class GameData {
v = []; v = [];
for (let md of v) { for (let md of v) {
if(md?.className === 'ExpBalanceModifier') // Temporarily limit EXP Balance until it gets reworked if(md?.className === 'ExpBalanceModifier') // Temporarily limit EXP Balance until it gets reworked
md.stackCount = Math.min(md.stackCount, 2); md.stackCount = Math.min(md.stackCount, 4);
ret.push(new PersistentModifierData(md, player)); ret.push(new PersistentModifierData(md, player));
} }
return ret; return ret;