Commit 1a26a6476bafabe7e94bc8f56ce874ef30cd5439
1 parent
50f22d1e
#fxcn_11862 恢复代码,unit_talent表问题
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 |