Commit 7e5d9ac6562701c1a3482f6bfc4a918301ddd734
1 parent
75876cb3
战令活动购买等级扣除钻石bug
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/actions/ActivityAction.lua
... | ... | @@ -1279,6 +1279,7 @@ function _M.buyBattleCommandLvlRpc(agent, data) |
1279 | 1279 | local cfg = bpCfg[i] |
1280 | 1280 | if cfg["type"] > curLvl and cfg["type"] <= nextLvl then |
1281 | 1281 | cost = cost + cfg["cost"] |
1282 | + elseif cfg["type"] > nextLvl then | |
1282 | 1283 | break |
1283 | 1284 | end |
1284 | 1285 | end | ... | ... |