Author: Omega
Date: Sat Jul 17 07:29:27 CEST 2010
Revision: 4346
Log:

removed useless stuff from jaraxxus, i doubt blizz will be un-nerfing fight and adding touch back.
#ICC/Festergut: Applied same icon fixes to this mod as were put in sindragosa, it is a better method.
#ToC/Anub: same as festergut.

Updated
trunk/DBM-Coliseum/Anub'arak.lua
Updated
trunk/DBM-Coliseum/Jaraxxus.lua
Updated
trunk/DBM-Icecrown/FrostwingHalls/Sindragosa.lua
Updated
trunk/DBM-Icecrown/ThePlagueworks/Festergut.lua

trunk/DBM-Coliseum/Anub'arak.lua
Action: modified
Old revision: 4345
Old date: 2010-07-16 22:52:38 UTC

@@ -154,9 +154,10 @@
end
if self.Options.SetIconsOnPCold then
table.insert(PColdTargets, DBM:GetRaidUnitId(args.destName))
- self:UnscheduleMethod("SetPcoldIcons")
- mod:ScheduleMethod(0.1, "SetPcoldIcons")
+ if ((mod:IsDifficulty("normal25") or mod:IsDifficulty("heroic25")) and #PColdTargets >= 5) or ((mod:IsDifficulty("normal10") or mod:IsDifficulty("heroic10")) and #PColdTargets >= 2) then
+ self:SetPcoldIcons()--Sort and fire as early as possible once we have all targets.
end
+ end
timerPCold:Show()
elseif args:IsSpellID(66012) then -- Freezing Slash
warnFreezingSlash:Show(args.destName)


trunk/DBM-Coliseum/Jaraxxus.lua
Action: modified
Old revision: 4345
Old date: 2010-07-16 22:52:38 UTC

@@ -31,13 +31,10 @@
local warnVolcanoSoon = mod:NewSoonAnnounce(67901, 3)
local warnFlame = mod:NewTargetAnnounce(68123, 4)
local warnFlesh = mod:NewTargetAnnounce(66237, 4, nil, mod:IsHealer())
---local warnTouch = mod:NewTargetAnnounce(66209, 3)
local warnNetherPower = mod:NewAnnounce("WarnNetherPower", 4, 67009)

local specWarnFlame = mod:NewSpecialWarningRun(67072)
local specWarnFlesh = mod:NewSpecialWarningYou(66237)
---local specWarnTouch = mod:NewSpecialWarning("SpecWarnTouch")
---local specWarnTouchNear = mod:NewSpecialWarning("SpecWarnTouchNear", false)
local specWarnKiss = mod:NewSpecialWarningYou(67907, false)
local specWarnNetherPower = mod:NewSpecialWarning("SpecWarnNetherPower", isDispeller)
local specWarnFelInferno = mod:NewSpecialWarningMove(68718)
@@ -53,13 +50,11 @@
local timerFleshCD = mod:NewCDTimer(23, 67051)
local timerPortalCD = mod:NewCDTimer(120, 67900)
local timerVolcanoCD = mod:NewCDTimer(120, 67901)
---local timerTouchCD = mod:NewCDTimer(999, 12345) -- cooldown?

mod:AddBoolOption("LegionFlameWhisper", false, "announce")
mod:AddBoolOption("LegionFlameRunSound", true)
mod:AddBoolOption("LegionFlameIcon", true)
mod:AddBoolOption("IncinerateFleshIcon", true)
---mod:AddBoolOption("TouchJaraxxusIcon", true)

mod:RemoveOption("HealthFrame")
mod:AddBoolOption("IncinerateShieldFrame", true, "misc")
@@ -168,24 +163,6 @@
if DBM:GetRaidRank() >= 1 and self.Options.LegionFlameWhisper then
self:SendWhisper(L.WhisperFlame, targetname)
end
-
---[[ elseif args:IsSpellID(66209) then -- Touch of Jaraxxus causes Curse of the Nether ID:66210
- -- timerTouchCD:Start()
- warnTouch:Show(args.destName)
- local uId = DBM:GetRaidUnitId(args.destName)
- if args:IsPlayer() then
- specWarnTouch:Show()
- end
- if self.Options.TouchJaraxxusIcon then
- self:SetIcon(args.destName, 6, 12)
- end
- if uId then
- local inRange = CheckInteractDistance(uId, 2)
- if inRange then
- specWarnTouchNear:Show(args.destName)
- end
- end--]]
-
elseif args:IsSpellID(66334, 67905, 67906, 67907) and args:IsPlayer() then
specWarnKiss:Show()



trunk/DBM-Icecrown/FrostwingHalls/Sindragosa.lua
Action: modified
Old revision: 4345
Old date: 2010-07-16 22:52:38 UTC

@@ -78,7 +78,7 @@
if self.Options.AnnounceFrostBeaconIcons then
SendChatMessage(L.BeaconIconSet:format(beaconIcons, UnitName(v)), "RAID")
end
- self:SetIcon(UnitName(v), beaconIcons, 8)
+ self:SetIcon(UnitName(v), beaconIcons)
beaconIcons = beaconIcons - 1
end
table.wipe(beaconIconTargets)


trunk/DBM-Icecrown/ThePlagueworks/Festergut.lua
Action: modified
Old revision: 4345
Old date: 2010-07-16 22:52:38 UTC

@@ -186,11 +186,8 @@
end
if self.Options.SetIconOnGasSpore then
table.insert(gasSporeIconTargets, DBM:GetRaidUnitId(args.destName))
- self:UnscheduleMethod("SetSporeIcons")
if ((mod:IsDifficulty("normal25") or mod:IsDifficulty("heroic25")) and #gasSporeIconTargets >= 3) or ((mod:IsDifficulty("normal10") or mod:IsDifficulty("heroic10")) and #gasSporeIconTargets >= 2) then
- self:SetSporeIcons()
- else
- self:ScheduleMethod(0.2, "SetSporeIcons")
+ self:SetSporeIcons()--Sort and fire as early as possible once we have all targets.
end
end
self:Unschedule(warnGasSporeTargets)