工会开启 工会技能

dev_one_discount
wangzhenxing 2023-09-06 15:11:01 +08:00
parent 6085b2193a
commit 4b34e64de7
3 changed files with 8 additions and 8 deletions

View File

@ -47,7 +47,7 @@ local _GuildBuildConfig = {
end,
},
[GUILD_MAP_BUILD_TYPE.SKILL] = { --技能
isOpen = false,
isOpen = true,
rpType = RedPointType.Guild_Skill,
btnName = "btnSkill",
btnFunc = function()

View File

@ -138,12 +138,12 @@ function this.SetAllGuildSkillRedPlayers()
end
--刷新方法
function this.RefreshAllGuildSkillRedPoint()
-- for i = 1, #GuildSkillType do
-- local isShowRedPoint = this.GuildSkillRedPoint(i)
-- if isShowRedPoint then
-- return true
-- end
-- end
for i = 1, #GuildSkillType do
local isShowRedPoint = this.GuildSkillRedPoint(i)
if isShowRedPoint then
return true
end
end
return false
end
--1 已经查看过不需要显示新红点 0 显示红点

View File

@ -130,7 +130,7 @@ function RoleProInfoPopup:OnOpen(_allAddProVal,_configData,_isShowGuild,_guildSk
this.guildProName.text = Language[11061]..GuildSkillType[_configData.Profession]
this.guildProValue.text = allLv
-- 跳转按钮如果设置的公会技能等级,说明是别人,就不显示跳转
this.jumpBtn:SetActive(false)
this.jumpBtn:SetActive(_guildSkill == nil)
end
if not this.specialPro then