@wfcd/profile-parser 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wfcd/profile-parser",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Parser for Digital Extreme's profile data",
5
5
  "type": "module",
6
6
  "main": "src/ProfileParser.js",
package/src/Intrinsics.js CHANGED
@@ -8,11 +8,11 @@ export default class Intrinsics {
8
8
  * @param {Object} skills The intrinsics object
9
9
  */
10
10
  constructor(skills) {
11
- // I know this is railjack but I'm not sure what the context is
12
11
  /**
12
+ * Intrinsic points for railjack
13
13
  * @type {number}
14
14
  */
15
- this.space = skills.LPP_SPACE;
15
+ this.railjack = Math.floor(skills.LPP_SPACE / 1000);
16
16
 
17
17
  /**
18
18
  * Railjack engineering rank
@@ -44,11 +44,11 @@ export default class Intrinsics {
44
44
  */
45
45
  this.command = skills.LPS_COMMAND;
46
46
 
47
- // Not sure what the context for this one is either
48
47
  /**
48
+ * Intrinsic points for railjack
49
49
  * @type {number}
50
50
  */
51
- this.drifter = skills.LPP_DRIFTER;
51
+ this.drifter = Math.floor(skills.LPP_DRIFTER / 1000);
52
52
 
53
53
  /**
54
54
  * Drifter riding rank
@@ -9,9 +9,10 @@ export default class Intrinsics {
9
9
  */
10
10
  constructor(skills: any);
11
11
  /**
12
+ * Intrinsic points for railjack
12
13
  * @type {number}
13
14
  */
14
- space: number;
15
+ railjack: number;
15
16
  /**
16
17
  * Railjack engineering rank
17
18
  * @type {number}
@@ -38,6 +39,7 @@ export default class Intrinsics {
38
39
  */
39
40
  command: number;
40
41
  /**
42
+ * Intrinsic points for railjack
41
43
  * @type {number}
42
44
  */
43
45
  drifter: number;