Skip to content

Commit 6083d70

Browse files
feat(cert-helper): update for 7.3
1 parent 8126bd1 commit 6083d70

2 files changed

Lines changed: 493 additions & 472 deletions

File tree

src/features/ffxiv_certificate_helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
import * as Discord from "discord.js"
16-
import { ACCESSORIES, MAJORS, MINORS, ITEM_NAMES } from "../model/ffxiv-items"
16+
import { ACCESSORIES, MAJORS, MINORS, ITEM_NAMES, STARTING_ID } from "../model/ffxiv-items"
1717
import { getJSON, queryStringFromObject } from "../util/http"
1818
import { log } from "../log"
1919
import { DataCenter, isDataCenter } from "../model/ffxiv-datacenters"
@@ -22,7 +22,7 @@ import { GlobalFeature, MessageContext } from "./feature"
2222

2323

2424
// JS APIs really suck.
25-
const IDS = Array.from(new Array(77), (x, i) => i + 42870)
25+
const IDS = Array.from(new Array(77), (x, i) => i + STARTING_ID)
2626
// This is a range, where ^ length ^ start pos.
2727

2828
interface UniversalisMarketCurrentDataResponse {

0 commit comments

Comments
 (0)