公会副本添加提示判断
parent
bac91deb69
commit
595df16baf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue