falloff and range are formated rounded to two decimal places

This commit is contained in:
Felix Linker
2018-09-08 21:06:47 +02:00
parent 77e652cd34
commit 8492dd74f9

View File

@@ -41,8 +41,8 @@ export const STATS_FORMATING = {
'eps': { 'format': 'round', 'units': 'ps', 'synthetic': 'getEps' },
'explres': { 'format': 'pct' },
'facinglimit': { 'format': 'round1', 'unit': 'ang' },
'falloff': { 'format': 'round1', 'unit': 'km', 'storedUnit': 'm' },
'fallofffromrange': { 'format': 'round1', 'unit': 'km', 'storedUnit': 'm', 'synthetic': 'getFalloff' },
'falloff': { 'format': 'round', 'unit': 'km', 'storedUnit': 'm' },
'fallofffromrange': { 'format': 'round', 'unit': 'km', 'storedUnit': 'm', 'synthetic': 'getFalloff' },
'hps': { 'format': 'round', 'units': 'ps', 'synthetic': 'getHps' },
'hullboost': { 'format': 'pct1' },
'hullreinforcement': { 'format': 'int' },
@@ -57,7 +57,7 @@ export const STATS_FORMATING = {
'piercing': { 'format': 'int' },
'power': { 'format': 'round', 'unit': 'MW' },
'protection': { 'format': 'pct' },
'range': { 'format': 'round1', 'unit': 'km', 'storedUnit': 'm' },
'range': { 'format': 'round', 'unit': 'km', 'storedUnit': 'm' },
'ranget': { 'format': 'round1', 'unit': 's' },
'regen': { 'format': 'round1', 'unit': 'ps' },
'reload': { 'format': 'int', 'unit': 's' },