diff --git a/src/actions/CarAction.lua b/src/actions/CarAction.lua index 105002a..c40b5d1 100644 --- a/src/actions/CarAction.lua +++ b/src/actions/CarAction.lua @@ -129,8 +129,8 @@ function _M.runeUpRpc( agent, data ) local runeData = runeSet[id] if not runeData then return 5 end - local maxLv = #csvdb["rune_buildCsv"] - if level >= maxLv then return 6 end + --local maxLv = #csvdb["rune_buildCsv"] + if level >= runeData.lvLimit then return 6 end local lvData = csvdb["rune_buildCsv"][level] local cost = lvData.cost:toNumMap() if not role:checkItemEnough(cost) then diff --git a/src/csvdata b/src/csvdata index c0e012b..5963ca5 160000 --- a/src/csvdata +++ b/src/csvdata @@ -1 +1 @@ -Subproject commit c0e012b7089fda957e48bd3fd9c9a9076d8cd6db +Subproject commit 5963ca5e80ac32e27cadf4c2553f1f24af8d9435 -- libgit2 0.21.2