Author: Omega
Date: Wed Jul 21 20:30:24 CEST 2010
Revision: 4363
Log:

make it so you at very least get a special warning if a plague jumps to you even if other stuff is disabled such as syncing.

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

trunk/DBM-Icecrown/TheFrozenThrone/LichKing.lua
Action: modified
Old revision: 4362
Old date: 2010-07-21 04:32:03 UTC

@@ -16,7 +16,7 @@
"SPELL_DAMAGE",
"UNIT_HEALTH",
"CHAT_MSG_MONSTER_YELL",
--- "CHAT_MSG_RAID_BOSS_WHISPER",
+ "CHAT_MSG_RAID_BOSS_WHISPER",
"SWING_DAMAGE",
"SWING_MISSED"
)
@@ -334,9 +334,6 @@
if self.Options.NecroticPlagueIcon then
self:SetIcon(args.destName, 7, 5)
end
- if args:IsPlayer() then
- specWarnNecroticPlague:Show()
- end
elseif args:IsSpellID(69409, 73797, 73798, 73799) then -- Soul reaper (MT debuff)
warnSoulreaper:Show(args.destName)
specwarnSoulreaper:Show(args.destName)
@@ -537,11 +534,14 @@
end
end

---[[function mod:CHAT_MSG_RAID_BOSS_WHISPER(msg)
+function mod:CHAT_MSG_RAID_BOSS_WHISPER(msg)
if msg:find(L.PlagueWhisper) and self:IsInCombat() then
- self:SendSync("PlagueOn", UnitName("player"))
+ if args:IsPlayer() then
+ specWarnNecroticPlague:Show()
end
-end--]]
+-- self:SendSync("PlagueOn", UnitName("player"))
+ end
+end

function mod:SWING_DAMAGE(args)
if args:GetSrcCreatureID() == 36597 then--Lich king Tank