Commit 08abd5c891681bd9b1da5759fb3a0509a3ba6e7f
1 parent
f72f32b7
英雄突破时判断当前阶段的关卡限制
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/HeroAction.lua
... | ... | @@ -87,7 +87,7 @@ function _M.breakRpc( agent, data ) |
87 | 87 | if not role:checkItemEnough(cost) then return 4 end |
88 | 88 | |
89 | 89 | -- 通过指定关卡后才能突破英雄 |
90 | - local pass = globalCsv.unit_break_level_pass[breakL + 1] | |
90 | + local pass = globalCsv.unit_break_level_pass[breakL] | |
91 | 91 | if pass then |
92 | 92 | local hangPass = self:getProperty("hangPass") |
93 | 93 | if not hangPass[pass] then return 4 end | ... | ... |