Commit fa2af5956028acd7a72bbd9f019c7873a373b496

Authored by liuzujun
1 parent 320f5b54

给保底抽配置加默认值10

Showing 2 changed files with 3 additions and 2 deletions   Show diff stats
src/actions/HeroAction.lua
... ... @@ -726,6 +726,7 @@ function _M.drawHeroRpc(agent, data)
726 726 subType = 2
727 727 end
728 728 end
  729 + print(btype, subType, role:getProperty("newerDraw"))
729 730  
730 731 -- 另开活动卡池
731 732 if actid then
... ... @@ -761,7 +762,7 @@ function _M.drawHeroRpc(agent, data)
761 762 local drawCount = {1, 10} -- 抽取次数
762 763 if not drawCount[drawType] then return 3 end
763 764  
764   - local draw_floor_back_counts = globalCsv.draw_floor_back_counts[btype]
  765 + local draw_floor_back_counts = globalCsv.draw_floor_back_counts[btype] or 10
765 766 local floorHeroCount = role:getProperty("floorHero")[btype] or 0
766 767  
767 768 -- 计算抽卡消耗品
... ...
1   -Subproject commit 02a9bbbb10bb99a91cc5d67f62dc7e5b49d8cb46
  1 +Subproject commit 76400551f6a7539d383e1f52e524b613eba61c90
... ...