From ed26e9e7586bf3782960a5f871e887cf2d0dd29d Mon Sep 17 00:00:00 2001 From: gaoxin Date: Mon, 19 Oct 2020 21:30:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E4=BC=9A=E5=89=AF=E6=9C=AC=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E6=AC=A1=E6=95=B0=E6=89=93=E5=8D=B0=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/Guild/Transcript/GuildTranscriptManager.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/Transcript/GuildTranscriptManager.lua b/Assets/ManagedResources/~Lua/Modules/Guild/Transcript/GuildTranscriptManager.lua index 913d0d82d3..5eb3bfdb4c 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/Transcript/GuildTranscriptManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/Transcript/GuildTranscriptManager.lua @@ -40,7 +40,7 @@ function this.GetGuildChallengeInfoRequest(fun) refreshedBoss[msg.refreshedBoss[i]] = msg.refreshedBoss[i] end if msg.isRefresh == 1 then - LogPink("msg.isRefresh "..msg.isRefresh) + LogPink("公会副本刷新次数····················msg.isRefresh "..msg.isRefresh) PrivilegeManager.RemovePrivilege(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM,3013) PrivilegeManager.RefreshStarPrivilege(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM) PrivilegeManager.RefreshStarPrivilege(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BUY_BATTLENUM) @@ -78,7 +78,6 @@ end local oldBossId = 0 function this.RefreshGuildTranscriptInfo(msg) oldBossId = curBoss - -- LogGreen("msg.curBoss "..msg.curBoss.." msg.blood "..msg.blood.." msg.isKill "..msg.isKill) curBoss = msg.curBoss--当前bossId blood = msg.blood--剩余血量万分比 isKill = msg.isKill--是否击杀 @@ -90,12 +89,13 @@ function this.RefreshGuildTranscriptInfo(msg) PopupTipPanel.ShowTip( string.format(Language[12346],monsterData.ReadingName) ) end end + LogPink("公会副本刷新次数····················oldBossId "..oldBossId.." msg.curBoss "..msg.curBoss.." msg.blood "..msg.blood.." msg.isKill "..msg.isKill) if oldBossId ~= curBoss then--前后ID不等认为是击杀 canSweep = 0 isKill = 1 if not refreshedBoss[oldBossId] then refreshedBoss[oldBossId] = oldBossId - -- LogPink("msg.refreshedBoss "..oldBossId) + LogPink("公会副本刷新次数····················endBossId "..endBossId.." oldBossId "..oldBossId) if endBossId ~= oldBossId then PrivilegeManager.RemovePrivilege(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM,3013) PrivilegeManager.RefreshStarPrivilege(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM)