Commit e626dbf056c177d34404317b04a360a0c5c8403d
Merge branch 'cn/develop' into cn/publish/zhaolu_test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/HeroAction.lua
@@ -202,7 +202,7 @@ function _M.talentRpc(agent, data) | @@ -202,7 +202,7 @@ function _M.talentRpc(agent, data) | ||
202 | 202 | ||
203 | 203 | ||
204 | local cost = {} | 204 | local cost = {} |
205 | - if curLevel == #curData + 1 then | 205 | + if curLevel == #curData then |
206 | talent = talent:setv(0, curStage + 1) | 206 | talent = talent:setv(0, curStage + 1) |
207 | talent = talent:setv(1, 1) | 207 | talent = talent:setv(1, 1) |
208 | else | 208 | else |