feat: gilded weapons #410

Merged
AMelonInsideLemon merged 4 commits from gildWeapon into main 2024-06-27 01:21:02 -07:00
2 changed files with 12 additions and 13 deletions
Showing only changes of commit 22d8b378d2 - Show all commits

View File

@ -19,7 +19,7 @@ interface IGildWeaponRequest {
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
PolarizeSlot?: number;
PolarizeValue?: ArtifactPolarity;
ItemId: string;
Caterogy: WeaponTypeInternal | "Hoverboards";
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
Category: WeaponTypeInternal | "Hoverboards";
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
}
// In export there no recipes for gild action, so reputation and ressources only consumed visually
@ -30,24 +30,24 @@ export const gildWeaponController: RequestHandler = async (req, res) => {
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
const data: IGildWeaponRequest = getJSONfromString(String(req.body));
data.ItemId = String(req.query.ItemId);
if (!modularWeaponCategory.includes(req.query.Category as WeaponTypeInternal | "Hoverboards")) {
throw new Error(`unknown modular weapon Category: ${req.query.Category}`);
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
throw new Error(`Unknown modular weapon Category: ${req.query.Category}`);
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
}
data.Caterogy = req.query.Category as WeaponTypeInternal | "Hoverboards";
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
data.Category = req.query.Category as WeaponTypeInternal | "Hoverboards";
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
const inventory = await getInventory(accountId);
if (!inventory[data.Caterogy]) {
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
throw new Error(`Category ${req.query.Category} dont foudn in inventory`);
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
if(!inventory[data.Category]) {
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
throw new Error(`Category ${req.query.Category} not found in inventory`);
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
}
const weaponIndex = inventory[data.Caterogy].findIndex(x => String(x._id) === data.ItemId);
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
const weaponIndex = inventory[data.Category].findIndex(x => String(x._id) === data.ItemId);
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
if (weaponIndex === -1) {
throw new Error(`Weapon with ${data.ItemId} not found in category ${req.query.Category}`);
}
const weapon = inventory[data.Caterogy][weaponIndex];
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
weapon.Features = EquipmentFeatures.GILDING; // maybe 9 idk if DOUBLE_CAPACITY is also given
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
const weapon = inventory[data.Category][weaponIndex];
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
weapon.Features = EquipmentFeatures.GILDED; // maybe 9 idk if DOUBLE_CAPACITY is also given
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
weapon.ItemName = data.ItemName;
weapon.XP = 0;
if (data.Caterogy != "OperatorAmps" && data.PolarizeSlot && data.PolarizeValue) {
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
if (data.Category != "OperatorAmps" && data.PolarizeSlot && data.PolarizeValue) {
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
weapon.Polarity = [
{
Slot: data.PolarizeSlot,
@ -55,12 +55,12 @@ export const gildWeaponController: RequestHandler = async (req, res) => {
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
}
];
}
inventory[data.Caterogy][weaponIndex] = weapon;
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
inventory[data.Category][weaponIndex] = weapon;
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
await inventory.save();
res.json({
InventoryChanges: {
[data.Caterogy]: [weapon]
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
[data.Category]: [weapon]
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
}
});
};

OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:16:33 -07:00 (Migrated from github.com)
Review

caterogy

caterogy
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
OrdisPrime commented 2024-06-26 07:17:09 -07:00 (Migrated from github.com)
Review

foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing

foudn "not" instead of "don't" please be a bit more careful with your spelling, otherwise it gives the impression of rushing
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
AMelonInsideLemon commented 2024-06-26 07:38:23 -07:00 (Migrated from github.com)
Review

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter

In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
FSKiller commented 2024-06-26 08:05:16 -07:00 (Migrated from github.com)
Review

He's talking about the typo for "category". you wrote "caterogy"

He's talking about the typo for "category". you wrote "caterogy"
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
AMelonInsideLemon commented 2024-06-26 08:07:00 -07:00 (Migrated from github.com)
Review

oh thanks, I should probably get some sleep

oh thanks, I should probably get some sleep
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.
OrdisPrime commented 2024-06-26 08:23:30 -07:00 (Migrated from github.com)
Review

all good lmao, sleep well.

all good lmao, sleep well.

View File

@ -86,7 +86,7 @@ export enum EquipmentFeatures {
DOUBLE_CAPACITY = 1,
UTILITY_SLOT = 2,
GRAVIMAG_INSTALLED = 4,
GILDING = 8,
GILDED = 8,
ARCANE_SLOT = 32,
INCARNON_GENESIS = 512
}
@ -113,7 +113,6 @@ export interface IEquipmentDatabase {
Expiry?: IMongoDate;
SkillTree?: string;
ArchonCrystalUpgrades?: IArchonCrystalUpgrade[];
ItemId: IOid;
_id: Types.ObjectId;
}