Commit 1c77df08c06dbcee109dc73b4e4c53931a4c5207
1 parent
d63519df
fix: 角色贴纸兑换 增加类型 23
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/GlobalVar.lua
src/actions/RoleAction.lua
... | ... | @@ -1603,7 +1603,7 @@ function _M.useSelectItemRpc(agent, data) |
1603 | 1603 | local count = msg.count |
1604 | 1604 | if math.illegalNum(count, 1, role:getItemCount(itemId)) then return end |
1605 | 1605 | local itemData = csvdb["itemCsv"][itemId] |
1606 | - if not (itemData.type == ItemType.SelectItemBox or itemData.type == ItemType.CommonPaster) then return end | |
1606 | + if not (itemData.type == ItemType.SelectItemBox or itemData.type == ItemType.CommonPaster or itemData.type == ItemType.Stick) then return end | |
1607 | 1607 | local itemMap = itemData.use_effect:toNumMap() |
1608 | 1608 | local reward, change = {} |
1609 | 1609 | for k, v in pairs(itemMap) do | ... | ... |