Author: Omega
Date: Tue Jul 06 04:53:21 CEST 2010
Revision: 4308
Log:

add to last, still block icon setting and chat /say if you fail latency check though. if you bypass latency check still don't want your icons or says to mess up rest of raid if they are wrong.

Updated
trunk/DBM-Icecrown/TheFrozenThrone/LichKing.lua

trunk/DBM-Icecrown/TheFrozenThrone/LichKing.lua
Action: modified
Old revision: 4307
Old date: 2010-07-06 02:51:04 UTC

@@ -150,7 +150,7 @@
if targetname == UnitName("player") then
specWarnDefileCast:Show()
soundDefile:Play()
- if self.Options.YellOnDefile then
+ if self.Options.YellOnDefile and mod:LatencyCheck() then
SendChatMessage(L.YellDefile, "SAY")
end
elseif targetname then
@@ -174,12 +174,12 @@

function mod:OldTankTrap()
warnTrapCast:Show(LKTank)
- if self.Options.TrapIcon then
+ if self.Options.TrapIcon and mod:LatencyCheck() then
self:SetIcon(LKTank, 6, 10)
end
if LKTank == UnitName("player") then
specWarnTrap:Show()
- if self.Options.YellOnTrap then
+ if self.Options.YellOnTrap and mod:LatencyCheck() then
SendChatMessage(L.YellTrap, "SAY")
end
end