#ICC/Valithria: Better clarification on open portal timer
ICC/Lich King: Better clarification on when a plague has jumped to distinguish it from LK casts.
@@ -28,7 +28,7 @@
local timerLayWaste = mod:NewBuffActiveTimer(12, 69325)
local timerNextPortal = mod:NewCDTimer(46, 72483, nil, mod:IsHealer())
-local timerPortalsOpen = mod:NewBuffActiveTimer(10, 72483, nil, mod:IsHealer())
+local timerPortalsOpen = mod:NewBuffActiveTimer(10, "timerPortalsOpen", 72483, mod:IsHealer())
local timerGutSpray = mod:NewTargetTimer(12, 71283, nil, mod:IsTank() or mod:IsHealer())
local timerCorrosion = mod:NewTargetTimer(6, 70751, nil, false)
@@ -27,6 +27,7 @@
local warnDrudgeGhouls = mod:NewSpellAnnounce(70358, 2) --Phase 1 Add
local warnShamblingEnrage = mod:NewTargetAnnounce(72143, 3, nil, mod:IsHealer() or mod:IsTank() or mod:CanRemoveEnrage()) --Phase 1 Add Ability
local warnNecroticPlague = mod:NewTargetAnnounce(73912, 4) --Phase 1+ Ability
+local warnNecroticPlagueJump= mod:NewAnnounce("warnNecroticPlagueJump", 4, 73912) --Phase 1+ Ability
local warnInfest = mod:NewSpellAnnounce(73779, 3, nil, mod:IsHealer()) --Phase 1 & 2 Ability
local warnPhase2Soon = mod:NewAnnounce("WarnPhase2Soon", 1)
local warnDefileSoon = mod:NewSoonAnnounce(73708, 3) --Phase 2+ Ability
@@ -331,7 +332,7 @@
timerRoleplay:Start()
elseif msg == "PlagueOn" then
if time() - lastPlagueCast > 2 then --Dirty hack to prevent function from doing anything for lich kings direct casts of necrotic plague.
- warnNecroticPlague:Show(target) --We only want this function to work when it jumps from target to target.
+ warnNecroticPlagueJump:Show(target) --We only want this function to work when it jumps from target to target.
timerNecroticPlagueCleanse:Start()
if target == UnitName("player") then
specWarnNecroticPlague:Show()
@@ -368,9 +368,14 @@
warnPortalOpen = "Portals open"
}
+L:SetTimerLocalization{
+ timerPortalsOpen = "Portals open"
+}
+
L:SetOptionLocalization{
SetIconOnBlazingSkeleton = "Set icon on Blazing Skeleton (skull)",
- warnPortalOpen = "Show warning when $spell:72483 are opened up",
+ warnPortalOpen = "Show warning when Nightmare Portals are opened up",
+ timerPortalsOpen = "Show timer when Nightmare Portals are opened up",
warnCorrosion = DBM_CORE_AUTO_ANNOUNCE_OPTIONS.spell:format(70751, GetSpellInfo(70751) or "unknown")
}
@@ -439,7 +444,8 @@
WarnPhase2Soon = "Phase 2 transition soon",
WarnPhase3Soon = "Phase 3 transition soon",
specWarnDefileCast = "Defile on you - Move away",
- specWarnDefileNear = "Defile near you - Watch out"
+ specWarnDefileNear = "Defile near you - Watch out",
+ warnNecroticPlagueJump = "Necrotic Plague jumped to >%s<"
}
L:SetTimerLocalization{
@@ -452,6 +458,7 @@
L:SetOptionLocalization{
TimerCombatStart = "Show timer for start of combat",
TimerRoleplay = "Show timer for roleplay event",
+ warnNecroticPlagueJump = "Announce $spell:73912 jump targets",
TimerNecroticPlagueCleanse = "Show timer to cleanse Necrotic Plague before\nthe first tick",
PhaseTransition = "Show time for phase transitions",
WarnPhase2Soon = "Show pre-warning for Phase 2 transition (at ~73%)",