From 4d04203ef2831f14c9003caf2870fe9f7415a1a1 Mon Sep 17 00:00:00 2001 From: Owen Davis Date: Tue, 22 Apr 2025 16:43:45 -0400 Subject: [PATCH] Update minAtk logic to account for attack evs --- play.pokemonshowdown.com/js/client-teambuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play.pokemonshowdown.com/js/client-teambuilder.js b/play.pokemonshowdown.com/js/client-teambuilder.js index 1f9cff093..0bd67933a 100644 --- a/play.pokemonshowdown.com/js/client-teambuilder.js +++ b/play.pokemonshowdown.com/js/client-teambuilder.js @@ -3458,7 +3458,7 @@ if (this.curTeam.format === 'gen7hiddentype') return; - var minAtk = true; + var minAtk = set.evs && !set.evs['atk']; // only available through an event with 31 Atk IVs if (set.ability === 'Battle Bond' || ['Koraidon', 'Miraidon'].includes(set.species)) minAtk = false; var hpModulo = (this.curTeam.gen >= 6 ? 2 : 4);