Commit b9bd5cb6189a894a670c0307680eed7f5cc6e4ea

Authored by zhouahaihai
1 parent 997cbdfe

天赋阶段 bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/HeroAction.lua
@@ -118,7 +118,7 @@ function _M.talentRpc(agent, data) @@ -118,7 +118,7 @@ function _M.talentRpc(agent, data)
118 end 118 end
119 end 119 end
120 if max then 120 if max then
121 - talent = talent:incrv(0, 1) 121 + talent = talent:setv(0, curStage + 1)
122 for i = 1, 4 do 122 for i = 1, 4 do
123 talent = talent:setv(i, 0) 123 talent = talent:setv(i, 0)
124 end 124 end