mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 23:32:02 -05:00
Show event abilities in battle tooltips (#865)
This commit is contained in:
@@ -470,6 +470,7 @@ var BattleTooltips = (function () {
|
||||
text += '<p>Possible abilities: ' + Tools.getAbility(ability0).name;
|
||||
if (template.abilities['1']) text += ', ' + Tools.getAbility(template.abilities['1']).name;
|
||||
if (this.battle.gen > 4 && template.abilities['H']) text += ', ' + Tools.getAbility(template.abilities['H']).name;
|
||||
if (this.battle.gen > 6 && template.abilities['S']) text += ', ' + Tools.getAbility(template.abilities['S']).name;
|
||||
text += '</p>';
|
||||
}
|
||||
} else if (pokemon.ability) {
|
||||
|
||||
Reference in New Issue
Block a user