Commit 8437f77c45cf6a18832a345c9c7b4fab5a95fc7e

Authored by liuzujun
2 parents 5029b2dc 1627de1c

Merge bugfix into bugfix-qa

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/actions/CarAction.lua
... ... @@ -124,8 +124,8 @@ function _M.runeUpRpc( agent, data )
124 124 local runeData = runeSet[id]
125 125 if not runeData then return 5 end
126 126  
127   - local maxLv = #csvdb["rune_buildCsv"]
128   - if level >= maxLv then return 6 end
  127 + --local maxLv = #csvdb["rune_buildCsv"]
  128 + if level >= runeData.lvLimit then return 6 end
129 129 local lvData = csvdb["rune_buildCsv"][level]
130 130 local cost = lvData.cost:toNumMap()
131 131 if not role:checkItemEnough(cost) then
... ...