Commit b96599612ce176653c009705d6ec0462fb0f0f90

Authored by zhouhaihai
1 parent 77302523

pool bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/HeroAction.lua
... ... @@ -701,7 +701,7 @@ local function fillDrawPool(curPool, resultPool, isNeedFunc)
701 701 if oneData["pool_" .. curPool] and oneData["pool_" .. curPool] ~= "" then
702 702 local itemData = csvdb["itemCsv"][itemId]
703 703 if itemData and isNeedFunc(itemData) then
704   - for _, one in ipairs(oneData["pool_" .. pool]:toTableArray(true)) do
  704 + for _, one in ipairs(oneData["pool_" .. curPool]:toTableArray(true)) do
705 705 table.insert(resultPool, {itemId, one[1], one[2]}) -- itemId, count, 概率
706 706 end
707 707 end
... ...