@gameroom/cli
Version:
A command line tool for Gameroom
112 lines (111 loc) • 2.64 kB
JavaScript
module.exports = (weight) => {
if (weight <= 1) {
return 100
} else if (weight <= 2) {
return 120
} else if (weight <= 3) {
return 140
} else if (weight <= 4) {
return 160
} else if (weight <= 5) {
return 180
} else if (weight <= 6) {
return 200
} else if (weight <= 7) {
return 220
} else if (weight <= 8) {
return 240
} else if (weight <= 9) {
return 260
} else if (weight <= 10) {
return 280
} else if (weight <= 11) {
return 300
} else if (weight <= 12) {
return 320
} else if (weight <= 13) {
return 340
} else if (weight < 16) {
return 512
} else if (weight <= 320) {
return 756
} else if (weight <= 480) {
return 1940
// } else if (weight <= 336) {
// return 1696
// } else if (weight <= 352) {
// return 1766
// } else if (weight <= 368) {
// return 1816
// } else if (weight <= 384) {
// return 1868
// } else if (weight <= 400) {
// return 1887
// } else if (weight <= 416) {
// return 1958
// } else if (weight <= 432) {
// return 1977
// } else if (weight <= 448) {
// return 2076
// } else if (weight <= 464) {
// return 2130
// } else if (weight <= 480) {
// return 2184
} else if (weight <= 640) {
return 2397
// } else if (weight <= 496) {
// return 2189
// } else if (weight <= 512) {
// return 2221
// } else if (weight <= 528) {
// return 2292
// } else if (weight <= 544) {
// return 2358
// } else if (weight <= 560) {
// return 2408
// } else if (weight <= 576) {
// return 2448
// } else if (weight <= 592) {
// return 2492
// } else if (weight <= 608) {
// return 2543
// } else if (weight <= 624) {
// return 2597
// } else if (weight <= 640) {
// return 2604
} else if (weight <= 800) {
return 2832
// } else if (weight <= 656) {
// return 2668
// } else if (weight <= 672) {
// return 2764
// } else if (weight <= 688) {
// return 2768
// } else if (weight <= 704) {
// return 2858
// } else if (weight <= 720) {
// return 2859
// } else if (weight <= 736) {
// return 2919
// } else if (weight <= 752) {
// return 2962
// } else if (weight <= 768) {
// return 2995
// } else if (weight <= 784) {
// return 2996
// } else if (weight <= 800) {
// return 2997
} else if (weight <= 960) {
return 4731
} else if (weight <= 1120) {
return 5117
} else if (weight <= 1280) {
return 5628
} else if (weight <= 1440) {
return 6477
} else if (weight <= 1600) {
return 7246
} else {
return 10000
}
}