Author: arta
Date: Mon Mar 01 08:54:15 CET 2010
Revision: 3723
Log:

Lich King - added option for Valkyr Icons so it can be turned off

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

trunk/DBM-Icecrown/TheFrozenThrone/LichKing.lua
Action: modified
Old revision: 3722
Old date: 2010-03-01 00:59:40 UTC

@@ -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()


trunk/DBM-Icecrown/localization.en.lua
Action: modified
Old revision: 3722
Old date: 2010-03-01 00:59:40 UTC

@@ -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{