装备:修改合成方案

This commit is contained in:
luying
2021-08-05 11:44:34 +08:00
parent 116ab1b69d
commit 813705aa1f
2 changed files with 45 additions and 31 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ export async function addItems(roleId: string, roleName: string, sid: string, go
// 2. 道具处理
if(items.length > 0) {
let { items: itemInfos } = await addBags(roleId, roleName, items);
for (let item of itemInfos) {
for (let item of items) {
showItems.push({ id: item.id, count: item.count });
}
//背包除去装备推送