装备:修复替换装备bug
This commit is contained in:
@@ -74,6 +74,7 @@ export async function handleCost(roleId: string, sid: string, goods: Array<ItemI
|
||||
|
||||
function sortConsumes(goods: Array<ItemInter>, bags: Array<ItemInter>, currencysMap: any, equips: Array<number>) {
|
||||
for (let good of goods) {
|
||||
if(good.count == 0) continue;
|
||||
let goodInfo = getGoodById(good.id);
|
||||
let { type, table } = ITID.get(goodInfo.itid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user