mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-17 08:03:56 -05:00
Assume neutral Natures in Random Battles (#2718)
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
This commit is contained in:
@@ -1611,6 +1611,10 @@ export class BattleTooltips {
|
||||
|
||||
let minNatureMult = 0.9;
|
||||
let maxNatureMult = 1.1;
|
||||
if (tier.includes('Random Battle')) {
|
||||
minNatureMult = 1;
|
||||
maxNatureMult = 1;
|
||||
}
|
||||
if (pokemon.nature) {
|
||||
let natureVals = BattleNatures[pokemon.nature];
|
||||
if (natureVals.minus === 'spe') maxNatureMult = 0.9;
|
||||
|
||||
Reference in New Issue
Block a user