刷冲特权修改

dev_chengFeng
wangzhenxing 2023-06-07 16:36:08 +08:00
parent cea83cf20a
commit 485ad2f433
2 changed files with 7 additions and 5 deletions

View File

@ -260,7 +260,8 @@ function this.CheckImGMRedPoint()
local activityData=ActivityGiftManager.GetActivityInfoByType(10301) local activityData=ActivityGiftManager.GetActivityInfoByType(10301)
if activityData and activityData.mission then if activityData and activityData.mission then
for i = 1, #activityData.mission do for i = 1, #activityData.mission do
if activityData.mission[i].state==1 then --屏蔽2201特权活动
if activityData.mission[i].missionId~=2201 and activityData.mission[i].state==1 then
return true return true
end end
end end

View File

@ -5,10 +5,11 @@ GMShuaChongTeQuan = Inherit(BasePanel)
self=GMShuaChongTeQuan self=GMShuaChongTeQuan
local sortingOrder = 0 local sortingOrder = 0
local TabBox = require("Modules/Common/TabBox") local TabBox = require("Modules/Common/TabBox")
local _TabData={ [1] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "刷充GM",img = "gm_shuachong_scGM_01_zh",id=2201,scale=0,all=0 }, local _TabData={
[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "超级GM" ,img = "gm_shuachong_cjGM_01_zh",id=2202,scale=6,all=30 }, --[1] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "刷充GM",img = "gm_shuachong_scGM_01_zh",id=2201,scale=0,all=0 },
[3] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "神级GM" ,img = "gm_shuachong_sjGM_01_zh",id=2203,scale=5,all=176 }, [1] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "超级特权" ,img = "gm_shuachong_cjGM_01_zh",id=2202,scale=6,all=30 },
[4] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "无上GM",img = "gm_shuachong_wsGM_01_zh",id=2204,scale=2,all=1640 }, [2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "神级特权" ,img = "gm_shuachong_sjGM_01_zh",id=2203,scale=5,all=176 },
[3] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "无上特权",img = "gm_shuachong_wsGM_01_zh",id=2204,scale=2,all=1640 },
} }
-- function GMShuaChongTeQuan:New(gameObject) -- function GMShuaChongTeQuan:New(gameObject)