Commit 6bfaf23e0197cf7d8e28df2d379a328d60aa5164

Authored by zhangqijia
2 parents e626dbf0 fcb9a070

Merge branch 'cn/develop' into cn/publish/zhaolu_test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/RolePlugin.lua
... ... @@ -444,7 +444,7 @@ function RolePlugin.bind(Role)
444 444 function Role:costItems(itemCountT, params)
445 445 local pms = clone(params or {})
446 446 for _, v in pairs(itemCountT) do
447   - if v <= 0 then return false end
  447 + if v < 0 then return false end
448 448 end
449 449  
450 450 if itemCountT[ItemId.Diamond] then --优先扣除钻石
... ...