mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 15:53:11 -05:00
Do not show hidden abilities before gen 5
This commit is contained in:
@@ -1017,7 +1017,7 @@
|
||||
if (template.abilities) {
|
||||
text += '<p>Possible abilities: ' + Tools.getAbility(template.abilities['0']).name;
|
||||
if (template.abilities['1']) text += ', ' + Tools.getAbility(template.abilities['1']).name;
|
||||
if (template.abilities['H']) text += ', ' + Tools.getAbility(template.abilities['H']).name;
|
||||
if (this.battle.gen > 4 && template.abilities['H']) text += ', ' + Tools.getAbility(template.abilities['H']).name;
|
||||
text += '</p>';
|
||||
}
|
||||
} else if (pokemon.ability) {
|
||||
|
||||
Reference in New Issue
Block a user