mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Tooltips: Don't display Illusion hint on 4+ moves with Mimic (#1795)
This commit is contained in:
committed by
GitHub
parent
90df33a57f
commit
cd7c6d29e7
@@ -900,7 +900,7 @@ class BattleTooltips {
|
||||
if (clientPokemon.moveTrack.filter(([moveName]) => {
|
||||
if (moveName.charAt(0) === '*') return false;
|
||||
const move = this.battle.dex.moves.get(moveName);
|
||||
return !move.isZ && !move.isMax;
|
||||
return !move.isZ && !move.isMax && move.name !== 'Mimic';
|
||||
}).length > 4) {
|
||||
text += `(More than 4 moves is usually a sign of Illusion Zoroark/Zorua.) `;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user