Commit e63957d5c161649dad6e7dc2fb33a3ee31ab895c
1 parent
4293d998
引导招募,临时改成对单抽生效,防止满屏都是丝路德
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/HeroAction.lua
... | ... | @@ -862,7 +862,7 @@ function _M.drawHeroRpc(agent, data) |
862 | 862 | end |
863 | 863 | |
864 | 864 | -- 引导必送 613 丝路德 |
865 | - local itemId = guide and 613 or math.randWeight(resultPool, 1) | |
865 | + local itemId = (guide and drawType == 1) and 613 or math.randWeight(resultPool, 1) | |
866 | 866 | local itemData = csvdb["itemCsv"][itemId] |
867 | 867 | if itemData.quality == 4 then |
868 | 868 | ssrCount = ssrCount + 1 | ... | ... |