Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro committed Feb 8, 2021
2 parents ec31a76 + f09b1e5 commit 1098707
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions models/submarineExplorationResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const DESTINATION_DATA_LENGTH = 56;

module.exports = async (struct) => {
// 0 = SS, 1 = S, A = 2, B = 3, 4 = C
struct.explorationRating = MachinaModels.getUint16(struct.data, 0x00);
struct.rating = MachinaModels.getUint16(struct.data, 0x00);
struct.submarineSpeed = MachinaModels.getUint16(struct.data, 0x02);

struct.explorationResult = [];
Expand Down Expand Up @@ -46,5 +46,5 @@ module.exports = async (struct) => {
loot2ItemDiscoveryDescription: MachinaModels.getUint32(struct.data, 0x38 + (i * DESTINATION_DATA_LENGTH)),
});
}
struct.unknown3 = MachinaModels.getUint16(struct.data, 0x11C + (i * DESTINATION_DATA_LENGTH));
struct.unknown3 = MachinaModels.getUint32(struct.data, 0x11C);
};
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-machina-ffxiv",
"version": "2.42.10",
"version": "2.42.11",
"description": "A wrapper for revahn's Machina network capture library.",
"main": "node-machina-ffxiv.js",
"scripts": {
Expand Down

0 comments on commit 1098707

Please sign in to comment.