Author: arta
Date: Mon Mar 01 08:56:11 CET 2010
Revision: 3724
Log:

fix for last :p

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

trunk/DBM-Icecrown/TheFrozenThrone/LichKing.lua
Action: modified
Old revision: 3723
Old date: 2010-03-01 07:54:15 UTC

@@ -241,17 +241,19 @@

local lastValk = 0
function mod:SPELL_SUMMON(args)
- if args:IsSpellID(69037) and self.Options.ValkyrIcon then -- Summon Val'kyr
+ if args:IsSpellID(69037) then -- Summon Val'kyr
if time() - lastValk > 15 then -- show the warning and timer just once for all three summon events
warnSummonValkyr:Show()
timerSummonValkyr:Start()
lastValk = time()
resetValkIconState()
end
+ if self.Options.ValkyrIcon then
valkIcons[args.destGUID] = currentIcon
currentIcon = currentIcon + 1
end
end
+ end

mod:RegisterOnUpdateHandler(function(self)
if DBM:GetRaidRank() > 0 and not (iconsSet == 3 and self:IsDifficulty("normal25", "heroic25") or iconsSet == 1 and self:IsDifficulty("normal10", "heroic10")) then