公会副本刷新次数打印提交
parent
1c955039ec
commit
ed26e9e758
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue