mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 23:01:05 -05:00
Fix sign of point damage
This commit is contained in:
@@ -109,7 +109,7 @@ function Pokemon(species) {
|
||||
};
|
||||
this.getFormattedRange = function (range, precision, separator) {
|
||||
if (range[0] === range[1]) {
|
||||
return (range[0] * 100).toFixed(precision) + '%';
|
||||
return Math.abs(range[0] * 100).toFixed(precision) + '%';
|
||||
}
|
||||
var lower, upper;
|
||||
if (precision === 0) {
|
||||
|
||||
Reference in New Issue
Block a user