Commit 4c442fd40806d19ff96b4149c93f0a2aa288e6ef

Authored by chenyueqi
1 parent 9b197666

突破关卡限制判断逻辑修改

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/HeroAction.lua
@@ -86,7 +86,7 @@ function _M.breakRpc( agent, data ) @@ -86,7 +86,7 @@ function _M.breakRpc( agent, data )
86 if not role:checkItemEnough(cost) then return 4 end 86 if not role:checkItemEnough(cost) then return 4 end
87 87
88 -- 通过指定关卡后才能突破英雄 88 -- 通过指定关卡后才能突破英雄
89 - local pass = globalCsv.unit_break_level_pass[breakL] 89 + local pass = globalCsv.unit_break_level_pass[breakL + 1]
90 if pass then 90 if pass then
91 if not role:checkHangPass(pass) then return 4 end 91 if not role:checkHangPass(pass) then return 4 end
92 end 92 end