parent
1252d11135
commit
31d460114b
|
|
@ -160,11 +160,16 @@ function this.SingleHelpDataShow(go,data)
|
|||
getRewardBtn:GetComponent("Button").enabled = not (data.num == data.hadtakenum)
|
||||
Util.AddOnceClick(getRewardBtn, function()
|
||||
NetManager.GuildTakeHelpRewardRequest(data.type,function(msg)
|
||||
getRewardBtn:GetComponent("Button").enabled = false
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function ()
|
||||
|
||||
end)
|
||||
MyGuildManager.SetMyAidInfoHadtakenum(data.type,data.num - data.hadtakenum)
|
||||
this.ShowPanelData()
|
||||
-- Timer.New(function ()
|
||||
-- LogGreen("not (data.num == data.hadtakenum) "..tostring(not (data.num == data.hadtakenum)))
|
||||
-- getRewardBtn:GetComponent("Button").enabled = not (data.num == data.hadtakenum)
|
||||
-- end,1):Start()
|
||||
end)
|
||||
end)
|
||||
else
|
||||
|
|
|
|||
|
|
@ -95,8 +95,8 @@ function this.RefreshGuildTranscriptInfo(msg)
|
|||
isKill = 1
|
||||
if not refreshedBoss[oldBossId] then
|
||||
refreshedBoss[oldBossId] = oldBossId
|
||||
-- LogPink("msg.refreshedBoss "..oldBossId)
|
||||
if endBossId ~= oldBossId then
|
||||
LogPink("msg.refreshedBoss "..oldBossId)
|
||||
PrivilegeManager.RemovePrivilege(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM,3013)
|
||||
PrivilegeManager.RefreshStarPrivilege(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM)
|
||||
PrivilegeManager.RefreshStarPrivilege(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BUY_BATTLENUM)
|
||||
|
|
|
|||
Loading…
Reference in New Issue