diff --git a/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua b/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua index b2ea4b256f..f664808dae 100644 --- a/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/NewShenZun/NewShenZunExpExchangePopup.lua @@ -58,27 +58,27 @@ function this:BindEvent() end end) - --减号长按升级按下状态 + --减号长按按下状态 this._onPointerDownReduce = function(Pointgo, data) LogRed("减号长按按下状态") _isClickedReduce = true this.timePressStarted = Time.realtimeSinceStartup end - --减号长按升级抬起状态 + --减号长按抬起状态 this._onPointerUpReduce = function(Pointgo, data) LogRed("减号长按抬起状态") _isClickedReduce = false end - --加号长按升级按下状态 + --加号长按按下状态 this._onPointerDownAdd = function(Pointgo, data) LogRed("加号长按按下状态") _isClickedAdd = true this.timePressStarted = Time.realtimeSinceStartup end - --加号长按升级抬起状态 + --加号长按抬起状态 this._onPointerUpAdd = function(Pointgo, data) LogRed("加号长按抬起状态") _isClickedAdd = false diff --git a/Assets/ManagedResources/~Lua/Modules/Player/PrivilegeManager.lua b/Assets/ManagedResources/~Lua/Modules/Player/PrivilegeManager.lua index 2a6c3a6cd5..efdad0d10f 100644 --- a/Assets/ManagedResources/~Lua/Modules/Player/PrivilegeManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Player/PrivilegeManager.lua @@ -98,6 +98,10 @@ local function _CompareCondition(type, condition, value) return value >= condition elseif type==8 then --开启周卡解锁 return MonthCardManager.GetMonthCardIsOpen(MONTH_CARD_TYPE.MONTHCARD) + elseif type==9 then --神尊等级解锁 + return GetShenzunLv() >= condition + else + return false end end