Commit 3df938f9edf79b836def3968ade276d037326f71

Authored by zhouhaihai
1 parent 7efe5275

明确保底 ssr

Showing 1 changed file with 7 additions and 4 deletions   Show diff stats
src/actions/HeroAction.lua
@@ -815,7 +815,7 @@ function _M.drawHeroRpc(agent, data) @@ -815,7 +815,7 @@ function _M.drawHeroRpc(agent, data)
815 end 815 end
816 if not fillPoolFunc[rateTypes[rateType]] then return 4 end 816 if not fillPoolFunc[rateTypes[rateType]] then return 4 end
817 if isFloorBack then 817 if isFloorBack then
818 - fillPoolFunc[rateTypes[rateType]](4) -- 保底 818 + fillPoolFunc[rateTypes[rateType]](3) -- 保底 sr 【郑斌】明确
819 else 819 else
820 fillPoolFunc[rateTypes[rateType]]() 820 fillPoolFunc[rateTypes[rateType]]()
821 end 821 end
@@ -825,9 +825,12 @@ function _M.drawHeroRpc(agent, data) @@ -825,9 +825,12 @@ function _M.drawHeroRpc(agent, data)
825 local temp = resultPool[idx] 825 local temp = resultPool[idx]
826 local itemData = csvdb["itemCsv"][temp[1]] 826 local itemData = csvdb["itemCsv"][temp[1]]
827 827
828 - if itemData.type == ItemType.Hero and itemData.quality == 4 then  
829 - ssrCount = ssrCount + 1  
830 - floorHeroCount = 0 828 + if itemData.type == ItemType.Hero then
  829 + if itemData.quality == 4 then
  830 + ssrCount = ssrCount + 1
  831 + elseif itemData.quality == 3 then
  832 + floorHeroCount = 0
  833 + end
831 end 834 end
832 835
833 if itemData.type == ItemType.Hero and role:isHaveHero(itemData.id - ItemStartId.Hero) then 836 if itemData.type == ItemType.Hero and role:isHaveHero(itemData.id - ItemStartId.Hero) then