红点修改提交

dev_chengFeng
jiaoyangna 2021-03-08 17:54:22 +08:00
parent aad4fcb9ac
commit 2f9e47fd1f
4 changed files with 16 additions and 14 deletions

View File

@ -573,7 +573,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &3237263451956369982 --- !u!224 &3237263451956369982
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -647,7 +647,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &4300771784587347048 --- !u!224 &4300771784587347048
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -797,7 +797,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &8405720891597481347 --- !u!224 &8405720891597481347
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1929,7 +1929,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &7981364898394692271 --- !u!224 &7981364898394692271
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2573,7 +2573,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &6489330602894791834 --- !u!224 &6489330602894791834
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -863,7 +863,7 @@ RedPointType = {
TaoistTrailHelp = 805,--道玄试炼 TaoistTrailHelp = 805,--道玄试炼
--鸿蒙阵 --鸿蒙阵
HongMeng = 801, -- 鸿蒙阵界面 HongMeng = 8010, -- 鸿蒙阵界面
HongMeng_Evory = 8011, -- 鸿蒙使者格子 HongMeng_Evory = 8011, -- 鸿蒙使者格子
HongMeng_UpTower = 8012, -- 升级鸿蒙塔 按钮 HongMeng_UpTower = 8012, -- 升级鸿蒙塔 按钮
HongMeng_OpenBox = 8013, -- 格子开启 HongMeng_OpenBox = 8013, -- 格子开启
@ -2288,7 +2288,7 @@ Pokemon_Formation_RefreshType={
} }
FourElementName = {"人杰试炼","佛禅试炼","妖灵试炼","道玄试炼"} FourElementName = {"人杰试炼","佛禅试炼","妖灵试炼","道玄试炼"}
FourElementNameImage = {"s_silingshilian_renjiezi_zh","s_silingshilian_fochanzi_zh","s_silingshilian_yaolingzi_zh","s_silingshilian_daoxuanzi_zh"} FourElementNameImage = {"s_silingshilian_renjiezi_zh","s_silingshilian_fochanzi_zh","s_silingshilian_yaolingzi_zh","s_silingshilian_daoxuanzi_zh"}
NumConvertWeek = {[1]=Language[10001],[2]=Language[10002],[3]=Language[10003],[4]=Language[10004],[5]=Language[10005],[6]=Language[10006],[7]=Language[10007]} NumConvertWeek = {[1]=Language[10001],[2]=Language[10002],[3]=Language[10003],[4]=Language[10004],[5]=Language[10005],[6]=Language[10006],[7]=Language[10335]}
CompShowType = { CompShowType = {
a = 1, a = 1,

View File

@ -168,7 +168,7 @@ end
--界面关闭时调用(用于子类重写) --界面关闭时调用(用于子类重写)
function FourElementMonsterCampPanel:OnClose() function FourElementMonsterCampPanel:OnClose()
ClearRedPointObject(redTrailType[curType],Util.GetGameObject(this.btnHelpFight, "redPoint"))
end end
--界面销毁时调用(用于子类重写) --界面销毁时调用(用于子类重写)
@ -177,7 +177,7 @@ function FourElementMonsterCampPanel:OnDestroy()
for k,v in pairs(this.singledataList) do for k,v in pairs(this.singledataList) do
v:OnDestroy() v:OnDestroy()
end end
ClearRedPointObject(redTrailType[curType],Util.GetGameObject(this.btnHelpFight, "redPoint"))
end end
return FourElementMonsterCampPanel return FourElementMonsterCampPanel

View File

@ -501,13 +501,13 @@ function this.SetMyHelpHeroData(trail,_data,func)
end end
this.myHelpHeroData[trail] = _data this.myHelpHeroData[trail] = _data
if trail == 1 then if trail == 1 then
CheckRedPointStatus(RedPointType.PersonTrailHelp) CheckRedPointStatus(RedPointType.PersonTrail)
elseif trail == 2 then elseif trail == 2 then
CheckRedPointStatus(RedPointType.BuddishTrailHelp) CheckRedPointStatus(RedPointType.BuddishTrail)
elseif trail == 3 then elseif trail == 3 then
CheckRedPointStatus(RedPointType.DemonTrailHelp) CheckRedPointStatus(RedPointType.DemonTrail)
elseif trail == 4 then elseif trail == 4 then
CheckRedPointStatus(RedPointType.TaoistTrailHelp) CheckRedPointStatus(RedPointType.TaoistTrail)
end end
end end
if func then if func then
@ -565,6 +565,7 @@ function this.FourElementRedCheck(redType)
elseif redType == RedPointType.TaoistTrail then elseif redType == RedPointType.TaoistTrail then
if this.fourMonsterData[4] and this.fourMonsterData[4].openState > 0 then if this.fourMonsterData[4] and this.fourMonsterData[4].openState > 0 then
if this.fourMonsterData[4].freeTime > 0 then if this.fourMonsterData[4].freeTime > 0 then
LogGreen("道玄 红点开了")
return true return true
end end
end end
@ -601,12 +602,13 @@ function this.CheckHelpFightRedPoint(redType)
elseif redType == RedPointType.TaoistTrailHelp then elseif redType == RedPointType.TaoistTrailHelp then
if this.fourMonsterData[4] and this.fourMonsterData[4].openState > 0 then if this.fourMonsterData[4] and this.fourMonsterData[4].openState > 0 then
if not this.GetMyHelpHero(4) then if not this.GetMyHelpHero(4) then
LogGreen("道玄 红点开了")
return true return true
end end
end end
LogGreen("道玄 红点关了")
return false return false
end end
end end
function this.SetRewardWave(waves) function this.SetRewardWave(waves)