mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 23:01:05 -05:00
Fix move names in tooltips when no PP used
This commit is contained in:
@@ -411,7 +411,7 @@ var BattleTooltips = (function () {
|
||||
}
|
||||
maxpp = Math.floor(maxpp * 8 / 5);
|
||||
}
|
||||
if (!ppUsed) return '';
|
||||
if (!ppUsed) return move.name;
|
||||
return move.name + ' <small>(' + (maxpp - ppUsed) + '/' + maxpp + ')</small>';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user