diff --git a/src/actions/StoreAction.lua b/src/actions/StoreAction.lua index d07025e..919d998 100644 --- a/src/actions/StoreAction.lua +++ b/src/actions/StoreAction.lua @@ -385,7 +385,7 @@ function _M.shopBuyRpc(agent , data) local buyRecord = role.storeData:getProperty("buyR") if math.illegalNum(count, 1, (dataSet.limit == 0 and 10000 or dataSet.limit - (buyRecord[id] or 0))) then skynet.error(string.format("shop buy over limit, user_id:%d, goods_id:%d", role:getProperty("id"), id)) - return 1 + return 6 end local cost -- libgit2 0.21.2