Commit feb7d32280c91ea2214b3f87ff4bfc5cdcfe6feb

Authored by 熊润斐
2 parents 2bbbb010 804a7eaf

Merge branch 'develop' into tr/qa

src/GlobalVar.lua
... ... @@ -69,6 +69,7 @@ ItemType = {
69 69 FuncOpen = 15, -- 管理功能开放
70 70 SpeedBox = 16, -- 加速箱子
71 71 SelectItemBox = 17, -- 自选箱子
  72 + CommonPaster = 18, -- 万能贴纸
72 73 }
73 74  
74 75 --在这个里面的会记录的是功能开放 对应类型open 而不是 ID
... ...
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
... ...
1   -Subproject commit 4a72b95ffb82eab671c6414aefa23b2e4718646c
  1 +Subproject commit d2c3deaddd4952cd4b05306144cbcdfa09734cd3
... ...