Commit 97f5a8df42abe10e5a6775726dbb3806d3c5de28
1 parent
a7b69ec2
ssrup 修改规则
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/actions/HeroAction.lua
... | ... | @@ -846,8 +846,8 @@ function _M.drawHeroRpc(agent, data) |
846 | 846 | local isNewerSSR = btype == 4 and (newerHadSSR == 0 and newerDrawCount >= globalCsv.draw_newer[1]) or false |
847 | 847 | |
848 | 848 | local ssrUp = 0 |
849 | - if draw_ssr_up_count_rate then | |
850 | - ssrUp = math.min(math.floor(ssrUpCount / draw_ssr_up_count_rate[1]) * draw_ssr_up_count_rate[2], draw_ssr_up_count_rate[3]) / 100 | |
849 | + if draw_ssr_up_count_rate and ssrUpCount > draw_ssr_up_count_rate[1] then | |
850 | + ssrUp = math.min((ssrUpCount - draw_ssr_up_count_rate[1]) * draw_ssr_up_count_rate[2], draw_ssr_up_count_rate[3]) / 100 | |
851 | 851 | end |
852 | 852 | while not next(resultPool) do |
853 | 853 | if isNewerSSR then | ... | ... |
-
mentioned in commit cb8d5cf00c8682ddcd7fa7906ef4b825818518f1