Apply prettier changes
This commit is contained in:
parent
1c8374b754
commit
206c9b79d3
@ -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 };
|
||||
|
Loading…
x
Reference in New Issue
Block a user