公会副本添加提示判断

dev_chengFeng
zhangqiang 2020-08-31 17:19:14 +08:00
parent bac91deb69
commit 595df16baf
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ function this.RefreshGuildTranscriptInfo(msg)
isKillShowTip = false isKillShowTip = false
if msg.isKill == 1 then if msg.isKill == 1 then
isKillShowTip = true isKillShowTip = true
if attackTypeShotTime == 1 then if attackTypeShotTime == 1 and endBossId ~= oldBossId then
local monsterData = this.GetMonsterConfigDataById(oldBossId) local monsterData = this.GetMonsterConfigDataById(oldBossId)
PopupTipPanel.ShowTip( string.format(Language[12346],monsterData.ReadingName) ) PopupTipPanel.ShowTip( string.format(Language[12346],monsterData.ReadingName) )
end end
@ -106,7 +106,7 @@ function this.RefreshGuildTranscriptInfo(msg)
Game.GlobalEvent:DispatchEvent(GameEvent.Guild.RefreshGuildTranscript) Game.GlobalEvent:DispatchEvent(GameEvent.Guild.RefreshGuildTranscript)
end end
function this.IsKillShowTip() function this.IsKillShowTip()
if isKillShowTip and attackTypeShotTime == 0 then if isKillShowTip and attackTypeShotTime == 0 and endBossId ~= oldBossId then
local monsterData = this.GetMonsterConfigDataById(oldBossId) local monsterData = this.GetMonsterConfigDataById(oldBossId)
PopupTipPanel.ShowTip( string.format(Language[12346],monsterData.ReadingName) ) PopupTipPanel.ShowTip( string.format(Language[12346],monsterData.ReadingName) )
end end