improve: adding special weapons at powersuit creation #277

Merged
AMelonInsideLemon merged 10 commits from SpecialItems into main 2024-06-07 06:58:20 -07:00
Showing only changes of commit 22d07b903b - Show all commits

View File

@ -16,6 +16,7 @@ import {
ITypeCount,
IFocusXP,
IFocusUpgrades,
IGenericItem2,
ITypeXPItem,
IChallengeProgress,
IStepSequencer,
@ -380,6 +381,29 @@ DuviriInfoSchema.set("toJSON", {
}
});
const GenericItemSchema2 = new Schema<IGenericItem2>({
OrdisPrime commented 2024-06-07 04:01:54 -07:00 (Migrated from github.com)
Review

please undo removal of all genericItem2 instances. it has a purpose for later.

please undo removal of all genericItem2 instances. it has a purpose for later.
ItemType: String,
ItemName: String,
XP: Number,
UpgradeVer: Number, //this is probably __v
Features: Number,
Polarized: Number,
CustomizationSlotPurchases: Number,
ModSlotPurchases: Number,
FocusLens: String,
Expiry: Date, //TODO: needs conversion
Polarity: [polaritySchema],
Configs: [ItemConfigSchema],
ModularParts: [String],
SkillTree: String,
UpgradeType: String,
UpgradeFingerprint: String,
OffensiveUpgrade: String,
DefensiveUpgrade: String,
UpgradesExpiry: Date, //TODO: needs conversion
ArchonCrystalUpgrades: []
});
const TypeXPItemSchema = new Schema<ITypeXPItem>(
{
ItemType: String,