improve: adding special weapons at powersuit creation #277
@ -75,7 +75,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 = 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);
|
||||||
}
|
}
|
||||||
@ -88,7 +88,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 = 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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user