Commit 56763ca7cce97e6b843e59979656f9ce9d33c3bf
1 parent
eab5a2d4
fix: 拆解术士模块的bug,充能重置运行时间,领取已经获得的奖励,不进行加速。
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/actions/RoleAction.lua
... | ... | @@ -665,9 +665,8 @@ function _M.openTimeBoxRpc(agent, data) |
665 | 665 | if not role:checkItemEnough({[ItemId.Jade] = costKey}) then return 5 end |
666 | 666 | role:costItems({[ItemId.Jade] = costKey}, {log = {desc = "openTimeBox", int1 = slot, int2 = oper}}) |
667 | 667 | else |
668 | - stopTime = math.min(nowTime,time + globalCsv.box_productLine_time * 3600) | |
668 | + stopTime = math.min(nowTime,time + globalCsv.box_productLine_time * 3600 + role:getBnousDismantlingMaximum()) | |
669 | 669 | end |
670 | - stopTime = stopTime + role:getBnousDismantlingMaximum() | |
671 | 670 | |
672 | 671 | role:pushCancel({type = "box", slot = slot}) |
673 | 672 | ... | ... |