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 ec6c8bc105 - Show all commits

View File

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