fix for last :p
@@ -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