Skip to content

Commit 2b55719

Browse files
committed
TWW Season 1 update
1 parent bd52bed commit 2b55719

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"utf8": "disable"
1313
},
1414
"Lua.workspace.library": [
15-
"~\\.vscode\\extensions\\ketho.wow-api-0.17.6\\Annotations"
15+
"~\\.vscode\\extensions\\ketho.wow-api-0.18.1\\Annotations"
1616
],
1717
"Lua.diagnostics.globals": [
1818
"BAG_FILTER_TITLE_SORTING",

Locale/enUS.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ L["Display minimap button"] = true
1010
L["Pinned characters"] = true
1111
L["Comma-separated list of character names. They will be shown at the top of the list regardless of status."] = true
1212
L["Send new key notification"] = true
13-
L["When checked notification to party will be send when the new key is acquired."] = true
13+
L["When checked notification to party will be send when the new key is acquired."] = true
14+
L["Xal'atath's Bargain"] = true

REKeys.lua

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,14 @@ RE.AceConfig = {
142142
}
143143
}
144144
RE.AffixSchedule = {
145-
{9, 124, 6},
146-
{10, 134, 7},
147-
{9, 136, 123},
148-
{10, 135, 6},
149-
{9, 3, 8},
150-
{10, 124, 11},
151-
{9, 135, 7},
152-
{10, 136, 8},
153-
{9, 134, 11},
154-
{10, 3, 123}
145+
{148, 9},
146+
{159, 10},
147+
{158, 9},
148+
{160, 10},
149+
{159, 9},
150+
{148, 10},
151+
{160, 9},
152+
{158, 10}
155153
}
156154
RE.DungeonNames = {
157155
[507] = "GB",
@@ -364,7 +362,7 @@ function RE:FindKey(dungeonCompleted)
364362
local currentAffixes = GetCurrentAffixes()
365363
if currentAffixes and #currentAffixes ~= 0 then
366364
for i, affixes in ipairs(RE.AffixSchedule) do
367-
if currentAffixes[1].id == affixes[1] and currentAffixes[2].id == affixes[2] and currentAffixes[3].id == affixes[3] then
365+
if currentAffixes[1].id == affixes[1] and currentAffixes[2].id == affixes[2] then
368366
RE.Settings.CurrentWeek = i
369367
break
370368
end
@@ -538,7 +536,7 @@ end
538536
function RE:GetAffixes()
539537
local currentAffixes = GetCurrentAffixes()
540538
if currentAffixes and #currentAffixes ~= 0 then
541-
if #currentAffixes == 4 then
539+
if #currentAffixes == 5 then
542540
local bestRuns = RE:GetParsedBestRun()
543541
local leftPanel = "[|cffff0000-|r]"
544542
local centerPanel = "[|cffff0000-|r]"
@@ -557,12 +555,13 @@ function RE:GetAffixes()
557555
RE.Tooltip:AddSeparator()
558556
RE.Tooltip:AddLine()
559557
end
560-
RE.Tooltip:AddHeader("|cffffffff"..GetAffixInfo(currentAffixes[1].id).."|r", "|cffff0000|||r", "|cffffffff"..GetAffixInfo(currentAffixes[2].id).."|r", "|cffff0000|||r", "|cffffffff"..GetAffixInfo(currentAffixes[3].id).."|r")
558+
RE.Tooltip:AddHeader("|cffffffff"..GetAffixInfo(currentAffixes[1].id):gsub(L["Xal'atath's Bargain"]..": ", "").."|r", "|cffff0000|||r", "|cffffffff"..GetAffixInfo(currentAffixes[2].id).."|r", "|cffff0000|||r", "|cffffffff"..GetAffixInfo(currentAffixes[4].id).."|r")
561559
RE.Tooltip:AddLine()
562560
end
563-
if RE.Settings.CurrentWeek > 0 and #RE.AffixSchedule > 1 then
561+
if RE.Settings.CurrentWeek > 0 then
564562
local affixes = RE.AffixSchedule[RE.Settings.CurrentWeek % #RE.AffixSchedule + 1]
565-
RE.Tooltip:AddHeader("|cffbbbbbb"..GetAffixInfo(affixes[1]).."|r", "|cff00ff00|||r", "|cffbbbbbb"..GetAffixInfo(affixes[2]).."|r", "|cff00ff00|||r", "|cffbbbbbb"..GetAffixInfo(affixes[3]).."|r")
563+
affixes[3] = affixes[2] == 9 and 10 or 9
564+
RE.Tooltip:AddHeader("|cffbbbbbb"..GetAffixInfo(affixes[1]):gsub(L["Xal'atath's Bargain"]..": ", "").."|r", "|cff00ff00|||r", "|cffbbbbbb"..GetAffixInfo(affixes[2]).."|r", "|cff00ff00|||r", "|cffbbbbbb"..GetAffixInfo(affixes[3]).."|r")
566565
else
567566
RE.Tooltip:AddHeader("|cffbbbbbb?|r", "|cff00ff00|||r", "|cffbbbbbb?|r", "|cff00ff00|||r", "|cffbbbbbb?|r")
568567
end

REKeys.toc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
## Interface: 110005
1+
## Interface: 110007
22
## Title: |cFF74D06CRE|rKeys
33
## Notes: Collect information about keystones owned by your friends.
4-
## Version: 2.1.14
4+
## Version: 2.1.15
55
## Author: AcidWeb
66
## SavedVariables: REKeysSettings, REKeysDB2
77
## OptionalDeps: RaiderIO

0 commit comments

Comments
 (0)