mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-08-23 01:24:29 -05:00
Ignore 10000 speed upper limit in Custom Game (#8392)
This commit is contained in:
@@ -562,7 +562,7 @@ export class Pokemon {
|
||||
stat = this.battle.runEvent('Modify' + statTable[statName], this, null, null, stat);
|
||||
}
|
||||
|
||||
if (statName === 'spe' && stat > 10000) stat = 10000;
|
||||
if (statName === 'spe' && stat > 10000 && !this.battle.format.battle?.trunc) stat = 10000;
|
||||
return stat;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user