GITLAB
wasteland
/
server
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
7125137e983d5a27d44789009da34ae5c811f986
Authored by
chenyueqi
2021-01-15 01:32:20 +0800
1 parent
40dd5057
手抽英雄只奖励一个
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/actions/HeroAction.lua
Inline
Side-by-side
src/actions/HeroAction.lua
Wrap text
Show/Hide comments
View file @
7125137
...
...
@@ -926,6 +926,7 @@ function _M.drawHeroRpc(agent, data)
926
926
local itemId = math.randWeight(resultPool, 1)
927
927
if guideHero then
928
928
itemId = guideHero
929
+ guideHero = nil
929
930
end
930
931
931
932
local itemData = csvdb["itemCsv"][itemId]
...
...