diff --git a/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua b/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua index 33afee5cdb..3d7c1e0a55 100644 --- a/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua @@ -64,7 +64,7 @@ function this:BindEvent() Util.AddClick(this.addBtn,function () local exNum=this.exchangeNum+1 - if exNum>maxExchangeNum then + if exNum>maxExchangeNum or exNum>999 then PopupTipPanel.ShowTip("已达上限") return end @@ -150,7 +150,7 @@ function this.OnUpdate() if _isClickedAdd then if Time.realtimeSinceStartup - this.timePressStarted > 0.4 then local exNum=this.exchangeNum+1 - if exNum>maxExchangeNum then + if exNum>maxExchangeNum or exNum>999 then PopupTipPanel.ShowTip("已达上限") _isClickedAdd = false return