diff --git a/modules/items/modelitems.go b/modules/items/modelitems.go index 87ee5369e..415518e9a 100644 --- a/modules/items/modelitems.go +++ b/modules/items/modelitems.go @@ -686,7 +686,7 @@ func (this *ModelItemsComp) useitem(session comm.IUserSession, gid string, amoun return } - if itemcf.SynthetizeNum*int32(amount) > int32(item.Amount) { //碎片数量不够 + if amount > int32(item.Amount) { //碎片数量不够 errdata = &pb.ErrorData{ Code: pb.ErrorCode_ItemsNoEnough, Title: pb.ErrorCode_ItemsNoEnough.ToString(),