mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-12 03:05:48 +00:00
parent
60cbd636e6
commit
f93f2bfca6
@ -1423,7 +1423,7 @@ export class ExpBalanceModifier extends PersistentModifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getMaxStackCount(scene: BattleScene): integer {
|
getMaxStackCount(scene: BattleScene): integer {
|
||||||
return 5;
|
return 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -867,8 +867,11 @@ export class GameData {
|
|||||||
const ret: PersistentModifierData[] = [];
|
const ret: PersistentModifierData[] = [];
|
||||||
if (v === null)
|
if (v === null)
|
||||||
v = [];
|
v = [];
|
||||||
for (let md of v)
|
for (let md of v) {
|
||||||
|
if(md?.className === 'ExpBalanceModifier') // Temporarily limit EXP Balance until it gets reworked
|
||||||
|
md.stackCount = Math.min(md.stackCount, 4);
|
||||||
ret.push(new PersistentModifierData(md, player));
|
ret.push(new PersistentModifierData(md, player));
|
||||||
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user