mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
falloff and range are formated rounded to two decimal places
This commit is contained in:
@@ -41,8 +41,8 @@ export const STATS_FORMATING = {
|
|||||||
'eps': { 'format': 'round', 'units': 'ps', 'synthetic': 'getEps' },
|
'eps': { 'format': 'round', 'units': 'ps', 'synthetic': 'getEps' },
|
||||||
'explres': { 'format': 'pct' },
|
'explres': { 'format': 'pct' },
|
||||||
'facinglimit': { 'format': 'round1', 'unit': 'ang' },
|
'facinglimit': { 'format': 'round1', 'unit': 'ang' },
|
||||||
'falloff': { 'format': 'round1', 'unit': 'km', 'storedUnit': 'm' },
|
'falloff': { 'format': 'round', 'unit': 'km', 'storedUnit': 'm' },
|
||||||
'fallofffromrange': { 'format': 'round1', 'unit': 'km', 'storedUnit': 'm', 'synthetic': 'getFalloff' },
|
'fallofffromrange': { 'format': 'round', 'unit': 'km', 'storedUnit': 'm', 'synthetic': 'getFalloff' },
|
||||||
'hps': { 'format': 'round', 'units': 'ps', 'synthetic': 'getHps' },
|
'hps': { 'format': 'round', 'units': 'ps', 'synthetic': 'getHps' },
|
||||||
'hullboost': { 'format': 'pct1' },
|
'hullboost': { 'format': 'pct1' },
|
||||||
'hullreinforcement': { 'format': 'int' },
|
'hullreinforcement': { 'format': 'int' },
|
||||||
@@ -57,7 +57,7 @@ export const STATS_FORMATING = {
|
|||||||
'piercing': { 'format': 'int' },
|
'piercing': { 'format': 'int' },
|
||||||
'power': { 'format': 'round', 'unit': 'MW' },
|
'power': { 'format': 'round', 'unit': 'MW' },
|
||||||
'protection': { 'format': 'pct' },
|
'protection': { 'format': 'pct' },
|
||||||
'range': { 'format': 'round1', 'unit': 'km', 'storedUnit': 'm' },
|
'range': { 'format': 'round', 'unit': 'km', 'storedUnit': 'm' },
|
||||||
'ranget': { 'format': 'round1', 'unit': 's' },
|
'ranget': { 'format': 'round1', 'unit': 's' },
|
||||||
'regen': { 'format': 'round1', 'unit': 'ps' },
|
'regen': { 'format': 'round1', 'unit': 'ps' },
|
||||||
'reload': { 'format': 'int', 'unit': 's' },
|
'reload': { 'format': 'int', 'unit': 's' },
|
||||||
|
|||||||
Reference in New Issue
Block a user