Commit d63519df22d3b2e228773aadeb38dc1410de9f24

Authored by zhangqijia
1 parent 261a541f

fix: 贴纸兑换 修复 itemCsv => "itemCsv"

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/HeroAction.lua
@@ -1395,7 +1395,7 @@ function _M.stickersConvertRpc(agent, data) @@ -1395,7 +1395,7 @@ function _M.stickersConvertRpc(agent, data)
1395 local itemId = msg.itemId 1395 local itemId = msg.itemId
1396 local heroType = msg.heroType -- heroId-300 举例 [泡泡]= {[heroType] = 120, [heroId]= 420} 1396 local heroType = msg.heroType -- heroId-300 举例 [泡泡]= {[heroType] = 120, [heroId]= 420}
1397 1397
1398 - local itemData = csvdb[itemCsv][itemId] 1398 + local itemData = csvdb["itemCsv"][itemId]
1399 if not itemData then return 1 end 1399 if not itemData then return 1 end
1400 1400
1401 local useEffect = itemData["use_effect"]:toNumMap() 1401 local useEffect = itemData["use_effect"]:toNumMap()