Commit 15b33dc3c9889e1808ab79c7d957659177b4d917

Authored by zhangqijia
1 parent cea66efd

fix: 齿轮加速当前加速次数获取错误的bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/RoleAction.lua
... ... @@ -1409,7 +1409,7 @@ function _M.goldBuyRpc(agent, data)
1409 1409 local maxCount = maxIdx + role:getBnousUpSpeedNum(UpSpeedType.GearUpSpeed)
1410 1410 if curT > maxCount then return end
1411 1411 if curT > maxIdx then
1412   - for idx = maxIdx+1, curCount do
  1412 + for idx = maxIdx+1, curT do
1413 1413 costs[idx] = costs[maxIdx]
1414 1414 end
1415 1415 end
... ...