diff --git a/src/actions/HeroAction.lua b/src/actions/HeroAction.lua index 88d5195..690d6ce 100644 --- a/src/actions/HeroAction.lua +++ b/src/actions/HeroAction.lua @@ -692,6 +692,7 @@ function _M.drawHeroRpc(agent, data) if not role:isFuncUnlock(FuncUnlock.GetHero) then return end local btype = msg.pool -- 1 2 3 4 local drawType = msg.type -- 1 单抽 2 十连 + local guide = msg.guide -- 是否是引导抽的 local buildTypeData = csvdb["build_typeCsv"][btype] if not buildTypeData then return 1 end @@ -850,7 +851,8 @@ function _M.drawHeroRpc(agent, data) end end - local itemId = math.randWeight(resultPool, 1) + -- 引导必送 613 丝路德 + local itemId = guide and 613 or math.randWeight(resultPool, 1) local itemData = csvdb["itemCsv"][itemId] if itemData.quality == 4 then ssrCount = ssrCount + 1 -- libgit2 0.21.2