装备:分解碎片结果合并
This commit is contained in:
@@ -586,7 +586,7 @@ export class EquipHandler {
|
|||||||
let costResult = await handleCost(roleId, sid, originalPiece);
|
let costResult = await handleCost(roleId, sid, originalPiece);
|
||||||
if(!costResult) return resResult(STATUS.BATTLE_CONSUMES_NOT_ENOUGH);
|
if(!costResult) return resResult(STATUS.BATTLE_CONSUMES_NOT_ENOUGH);
|
||||||
let result = await addItems(roleId, roleName, sid, goods);
|
let result = await addItems(roleId, roleName, sid, goods);
|
||||||
return resResult(STATUS.SUCCESS, { goods: result });
|
return resResult(STATUS.SUCCESS, { goods: combineItems(result) });
|
||||||
}
|
}
|
||||||
|
|
||||||
//穿戴或卸载装备 1-穿上装备(包括替换) 2-脱下装备
|
//穿戴或卸载装备 1-穿上装备(包括替换) 2-脱下装备
|
||||||
|
|||||||
Reference in New Issue
Block a user