Commit 1627de1c2cd30ac737eac374a32a8425a1d038bd

Authored by liuzujun
1 parent 8b6745bf

铭文升级超过上限bug

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
src/actions/CarAction.lua
@@ -129,8 +129,8 @@ function _M.runeUpRpc( agent, data ) @@ -129,8 +129,8 @@ function _M.runeUpRpc( agent, data )
129 local runeData = runeSet[id] 129 local runeData = runeSet[id]
130 if not runeData then return 5 end 130 if not runeData then return 5 end
131 131
132 - local maxLv = #csvdb["rune_buildCsv"]  
133 - if level >= maxLv then return 6 end 132 + --local maxLv = #csvdb["rune_buildCsv"]
  133 + if level >= runeData.lvLimit then return 6 end
134 local lvData = csvdb["rune_buildCsv"][level] 134 local lvData = csvdb["rune_buildCsv"][level]
135 local cost = lvData.cost:toNumMap() 135 local cost = lvData.cost:toNumMap()
136 if not role:checkItemEnough(cost) then 136 if not role:checkItemEnough(cost) then
1 -Subproject commit c0e012b7089fda957e48bd3fd9c9a9076d8cd6db 1 +Subproject commit 5963ca5e80ac32e27cadf4c2553f1f24af8d9435