diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index bcd61ea8..4f64314a 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -51,7 +51,11 @@ const inventoryController: RequestHandler = async (request: Request, response: R if (config.unlockAllShipDecorations) inventoryResponse.ShipDecorations = allShipDecorations; if (config.unlockAllFlavourItems) inventoryResponse.FlavourItems = allFlavourItems satisfies IFlavourItem[]; - if (typeof config.spoofMasteryRank === "number" && config.spoofMasteryRank >= 0 && config.spoofMasteryRank <= 5030) { + if ( + typeof config.spoofMasteryRank === "number" && + config.spoofMasteryRank >= 0 && + config.spoofMasteryRank <= 5030 + ) { inventoryResponse.PlayerLevel = config.spoofMasteryRank; inventoryResponse.XPInfo = []; let numFrames = getExpRequiredForMr(config.spoofMasteryRank) / 6000; @@ -70,7 +74,7 @@ const getExpRequiredForMr = (rank: number): number => { if (rank <= 30) { return 2500 * rank * rank; } - return 2_250_000 + (147_500 * (rank - 30)); + return 2_250_000 + 147_500 * (rank - 30); }; export { inventoryController };