Skip to content

Commit

Permalink
Tweak display time of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Aug 16, 2016
1 parent 0088c59 commit a6deefd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Bosses.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ do
end
if msg[1] then
print("|cFF33FF99LegionInvasionTimer|r:", msg[1])
RaidNotice_AddMessage(RaidBossEmoteFrame, msg[1], colorTbl, 4)
RaidNotice_AddMessage(RaidBossEmoteFrame, msg[1], colorTbl, 5)
PlaySound("RaidWarning", "Master")
end
end
Expand All @@ -133,7 +133,7 @@ do
-- 20 sec debuff, chains you to another player
local msg = "|T".. GetSpellTexture(spellId) ..texString.. L.runToLink.. " (".. spellName ..")"
print("|cFF33FF99LegionInvasionTimer|r:", msg)
RaidNotice_AddMessage(RaidBossEmoteFrame, msg, colorTbl, 4)
RaidNotice_AddMessage(RaidBossEmoteFrame, msg, colorTbl, 5)
PlaySound("RaidWarning", "Master")
elseif spellId == 218657 and destGUID == myID then -- Charred Flesh
-- 20 sec debuff, chains you to another player
Expand All @@ -144,7 +144,7 @@ do
elseif (spellId == 219367 or spellId == 207576 or spellId == 217549) and destGUID == myID then -- Rain of Fire / Fel Fire / Fel Flames
local msg = "|T".. GetSpellTexture(spellId) ..texString.. L.runOut:format(spellName)
print("|cFF33FF99LegionInvasionTimer|r:", msg)
RaidNotice_AddMessage(RaidBossEmoteFrame, msg, colorTbl, 4)
RaidNotice_AddMessage(RaidBossEmoteFrame, msg, colorTbl, 3)
PlaySound("RaidWarning", "Master")
end
end
Expand Down
2 changes: 1 addition & 1 deletion LegionInvasionTimer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ local function findTimer()
Timer(30, findTimer) -- Sometimes Blizz doesn't reset the quest ID very quickly, do another check to fix colors if so
FlashClientIcon()
print("|cFF33FF99LegionInvasionTimer|r:", L.invasionsAvailable)
RaidNotice_AddMessage(RaidBossEmoteFrame, L.invasionsAvailable, mod.c, 4)
RaidNotice_AddMessage(RaidBossEmoteFrame, L.invasionsAvailable, mod.c)
PlaySound("RaidWarning", "Master")
end
justLoggedIn = false
Expand Down

0 comments on commit a6deefd

Please sign in to comment.