mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 04:23:01 -05:00
Fix move names in tooltips when no PP used
This commit is contained in:
parent
ae2adee98a
commit
f17ae9a437
|
|
@ -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>';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user