Skip to content

Commit f9530e8

Browse files
committed
fix: update data files and build script
There was an issue in the data script regarding skill indirections. This was fixed and an update to the data files has been made. Fixes #24
1 parent aaf5d02 commit f9530e8

File tree

6 files changed

+81
-13
lines changed

6 files changed

+81
-13
lines changed

bin/build-data-file.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ class XIVApi {
3131
actionIds = [
3232
...actionIds,
3333
...job.GameContentLinks.ActionIndirection.ClassJob.map((id) => {
34-
return actionIndirections[ id ].Name.ID;
34+
return actionIndirections[ id ]?.Name?.ID || null;
3535
})
36-
]
36+
].filter((id) => id !== null)
3737
}
3838

3939
const filters = [

package-lock.json

Lines changed: 74 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
"@popperjs/core": "^2.9.3",
3838
"@types/jasmine": "~3.8.0",
3939
"@types/node": "^12.11.1",
40+
"axios": "^0.27.2",
41+
"axios-rate-limit": "^1.3.0",
4042
"jasmine-core": "~3.8.0",
4143
"karma": "~6.3.0",
4244
"karma-chrome-launcher": "~3.1.0",

src/assets/actionindirections.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/assets/classjobactions.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)