无尽副本修改提交

dev_chengFeng
jiaoyangna 2021-05-27 15:16:46 +08:00
parent 7779c1dbb1
commit a9b52e6834
3 changed files with 23 additions and 4 deletions

View File

@ -684,7 +684,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: d7dd1cf3a6c679649b6c1e170565acf6, type: 3}
m_Sprite: {fileID: 21300000, guid: 3e841952f1989d54197a27b3341467d6, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1

View File

@ -213,6 +213,25 @@ function EndLessMapView:BindEvent()
EndLessMapManager.openedFormat = true
end)
end)
Util.AddClick(this.TargetRoot, function ()
if ctrlView.GetCallListCount() > 1 then
PopupTipPanel.ShowTip(Language[11259])
return
end
if not this:CanClick() then return end
MonsterCampManager.preType = 2
UIManager.OpenPanel(UIName.TrialRewardPopup,EndLessMapManager.SetRewardData(),function(id,rewardFunc)
NetManager.TakeMissionRewardRequest(TaskTypeDef.wujinfuben,id,function (msg)
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function()
this:RefreshTargetRoote()
if rewardFunc then
rewardFunc()
end
end)
end)
end,1)
end)
BindRedPointObject(RedPointType.wujinMission,this.btnNoteRed)
Util.AddClick(this.btnNote, function ()
if this.curMission.state == 1 then
@ -389,14 +408,14 @@ function EndLessMapView:RefreshTargetRoote()
if this.curMission.state == 2 then
this.TargetBtn1.gameObject:SetActive(true) --未完成
this.TargetBtn2.gameObject:SetActive(false) --以达成
this.TargetRootText.text = string.format("%s<color=#55c688>(%s/%s)</color>",this.curMission.Desc,this.curMission.progress,this.curMission.value)
this.TargetRootText.text = string.format("%s<color=#FFFFFF>(%s/%s)</color>",this.curMission.Desc,this.curMission.progress,this.curMission.value)
else
this.TargetBtn1.gameObject:SetActive(false)
this.TargetBtn2.gameObject:SetActive(true)
if this.curMission.index == #EndLessMapManager.mission and this.curMission.state == 0 then
this.TargetRootText.text = "已完成全部任务"
else
this.TargetRootText.text = string.format("%s<color=#FFFFFF>(%s/%s)</color>",this.curMission.Desc,this.curMission.value,this.curMission.value)
this.TargetRootText.text = string.format("%s<color=#55c688>(%s/%s)</color>",this.curMission.Desc,this.curMission.value,this.curMission.value)
end
end
end

View File

@ -33,7 +33,7 @@ function EndLessTreasurePanel:BindEvent()
self:ClosePanel()
end)
Util.AddClick(self.quesBtn,function()
UIManager.OpenPanel(UIName.HelpPopup,1,self.helpPosition.x,self.helpPosition.y)
UIManager.OpenPanel(UIName.HelpPopup,93,self.helpPosition.x,self.helpPosition.y)
end)
end