Compare View

switch
from
...
to
 
Commits (2)
src/actions/HeroAction.lua
... ... @@ -202,7 +202,7 @@ function _M.talentRpc(agent, data)
202 202  
203 203  
204 204 local cost = {}
205   - if curLevel == #curData + 1 then
  205 + if curLevel == #curData then
206 206 talent = talent:setv(0, curStage + 1)
207 207 talent = talent:setv(1, 1)
208 208 else
... ...