diff --git a/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua b/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua index 868d191aff..33afee5cdb 100644 --- a/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua @@ -44,6 +44,9 @@ function this:BindEvent() local maxCostNum=maxExchangeNum*onecostnum local costNum=maxCostNum>haveNum and haveNum or maxCostNum this.exchangeNum=math.floor(costNum/onecostnum) + if this.exchangeNum>999 then + this.exchangeNum=999 + end this.changeNumText.text=this.exchangeNum this.costNum.text=this.exchangeNum*onecostnum end)