Delete redundant code

This commit is contained in:
Shiva Devarajan
2026-06-21 15:10:57 -04:00
parent fc38bf6779
commit 28a26839cb

View File

@@ -1598,13 +1598,8 @@ export class BattleTooltips {
let maxNatureMult = 1.1;
if (pokemon.nature) {
let natureVals = BattleNatures[pokemon.nature];
if (natureVals.minus === 'spe') {
minNatureMult = 0.9;
maxNatureMult = 0.9;
} else if (natureVals.plus === 'spe') {
minNatureMult = 1.1;
maxNatureMult = 1.1;
}
if (natureVals.minus === 'spe') maxNatureMult = 0.9;
if (natureVals.plus === 'spe') minNatureMult = 1.1;
}
let min;