mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 04:23:01 -05:00
Teambuilder: Show HP moves as useless if outclassed
This commit is contained in:
parent
b347a15ef2
commit
effa959600
|
|
@ -785,6 +785,11 @@
|
|||
if (id === 'stunspore') isViable = (moves.indexOf('thunderwave') < 0);
|
||||
if (id === 'gyroball') isViable = (template.baseStats.spe <= 60);
|
||||
if (id === 'toxic') isViable = (this.gen > 1);
|
||||
if (id === 'hiddenpowerice') isViable = (moves.indexOf('icebeam') < 0 && template.id !== 'xerneas');
|
||||
if (id === 'hiddenpowerelectric') isViable = (moves.indexOf('thunderbolt') < 0);
|
||||
if (id === 'hiddenpowerfire') isViable = (moves.indexOf('flamethrower') < 0);
|
||||
if (id === 'hiddenpowergrass') isViable = (moves.indexOf('energyball') < 0);
|
||||
if (id === 'hiddenpowerfighting') isViable = (moves.indexOf('aurasphere') < 0);
|
||||
if (isViable) {
|
||||
if (!usableMoves.length) usableMoves.push(['header', "Moves"]);
|
||||
usableMoves.push(['move', id]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user