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
2 changed files with 2 additions and 3 deletions
Showing only changes of commit aedc356c33 - Show all commits

View File

@ -16,7 +16,6 @@ import {
ITypeCount, ITypeCount,
IFocusXP, IFocusXP,
IFocusUpgrades, IFocusUpgrades,
IGenericItem2,
ITypeXPItem, ITypeXPItem,
IChallengeProgress, IChallengeProgress,
IStepSequencer, IStepSequencer,

View File

@ -74,7 +74,7 @@ export const addSentinel = async (sentinelName: string, accountId: string) => {
}; };
export const addPowerSuit = async (powersuitName: string, accountId: string): Promise<ISuitClient> => { export const addPowerSuit = async (powersuitName: string, accountId: string): Promise<ISuitClient> => {
const specialItems = await getExalted(powersuitName); const specialItems = getExalted(powersuitName);
if(specialItems != false){ if(specialItems != false){
for await (const specialItem of specialItems) { for await (const specialItem of specialItems) {
await addSpecialItem(specialItem, accountId) await addSpecialItem(specialItem, accountId)
@ -87,7 +87,7 @@ export const addPowerSuit = async (powersuitName: string, accountId: string): Pr
}; };
export const addMechSuit = async (mechsuitName: string, accountId: string) => { export const addMechSuit = async (mechsuitName: string, accountId: string) => {
const specialItems = await getExalted(mechsuitName); const specialItems = getExalted(mechsuitName);
if(specialItems != false){ if(specialItems != false){
for await (const specialItem of specialItems) { for await (const specialItem of specialItems) {
await addSpecialItem(specialItem, accountId) await addSpecialItem(specialItem, accountId)