Lich King - added option for Valkyr Icons so it can be turned off
@@ -74,6 +74,7 @@
mod:AddBoolOption("TrapIcon")
mod:AddBoolOption("YellOnDefile", true, "announce")
mod:AddBoolOption("YellOnTrap", true, "announce")
+mod:AddBoolOption("ValkyrIcon")
local phase = 0
local warned_preP2 = false
@@ -240,7 +241,7 @@
local lastValk = 0
function mod:SPELL_SUMMON(args)
- if args:IsSpellID(69037) then -- Summon Val'kyr
+ if args:IsSpellID(69037) and self.Options.ValkyrIcon 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()
@@ -463,7 +463,8 @@
DefileIcon = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(72762),
NecroticPlagueIcon = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(73912),
RagingSpiritIcon = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(69200),
- TrapIcon = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(73539)
+ TrapIcon = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(73539),
+ ValkyrIcon = "Set icons on Valkyrs"
}
L:SetMiscLocalization{