mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 22:02:18 +02:00
Set max to 4
This commit is contained in:
parent
4c2507bd7a
commit
58a3732940
@ -1423,7 +1423,7 @@ export class ExpBalanceModifier extends PersistentModifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getMaxStackCount(scene: BattleScene): integer {
|
getMaxStackCount(scene: BattleScene): integer {
|
||||||
return 2;
|
return 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user