Commit feb7d32280c91ea2214b3f87ff4bfc5cdcfe6feb
Merge branch 'develop' into tr/qa
Showing
3 changed files
with
3 additions
and
2 deletions
Show diff stats
src/GlobalVar.lua
src/actions/RoleAction.lua
... | ... | @@ -1236,7 +1236,7 @@ function _M.useSelectItemRpc(agent, data) |
1236 | 1236 | local count = msg.count |
1237 | 1237 | if math.illegalNum(count, 1, role:getItemCount(itemId)) then return end |
1238 | 1238 | local itemData = csvdb["itemCsv"][itemId] |
1239 | - if itemData.type ~= ItemType.SelectItemBox then return end | |
1239 | + if not (itemData.type == ItemType.SelectItemBox or itemData.type == ItemType.CommonPaster) then return end | |
1240 | 1240 | local itemMap = itemData.use_effect:toNumMap() |
1241 | 1241 | local reward, change = {} |
1242 | 1242 | for k, v in pairs(itemMap) do | ... | ... |