Skip to content

Commit 22c9a97

Browse files
committed
Add 11.1.1 Nightfall Weekly and the new Flame's Radiance faction
1 parent 623d5d4 commit 22c9a97

File tree

5 files changed

+40
-1
lines changed

5 files changed

+40
-1
lines changed

PermoksAccountManager.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ local LibQTip = LibStub('LibQTip-1.0')
5252
local L = LibStub('AceLocale-3.0'):GetLocale(addonName)
5353
local LSM = LibStub('LibSharedMedia-3.0')
5454
local VERSION = C_AddOns.GetAddOnMetadata(addonName, "Version")
55-
local INTERNALTWWVERSION = 8
55+
local INTERNALTWWVERSION = 9
5656
local INTERNALWOTLKVERSION = 6
5757
local INTERNALCATAVERSION = 3
5858
local defaultDB = {
@@ -788,6 +788,11 @@ function PermoksAccountManager:Modernize(oldInternalVersion)
788788
if oldInternalVersion < 8 then
789789
self:AddLabelToDefaultCategory('general', 'weekly_bounti_map')
790790
end
791+
792+
if oldInternalVersion < 9 then
793+
self:AddLabelToDefaultCategory('renown', 'flames_radiance', 8)
794+
self:AddLabelToDefaultCategory('currentweekly', 'nightfall_weekly', 7)
795+
end
791796
end
792797

793798
function PermoksAccountManager:GetGUID()

commands.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,13 @@ function commands.SECRET()
193193
end
194194
end
195195

196+
function commands.SETVERSION(version)
197+
version = tonumber(version)
198+
if version then
199+
PermoksAccountManager.db.global.internalTWWVersion = version
200+
end
201+
end
202+
196203
function commands.CL()
197204
PermoksAccountManager.db.global.customLabels = not PermoksAccountManager.db.global.customLabels
198205
end

db/db.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ local default_categories = {
8181
'weekly_delve_reputation',
8282
'weekly_coffer_keys',
8383
'archaic_cypher_key',
84+
'nightfall_weekly',
8485

8586
'separator1',
8687
'the_theater_troupe',
@@ -108,6 +109,7 @@ local default_categories = {
108109
weekly_delve_reputation = 4,
109110
weekly_coffer_keys = 5,
110111
archaic_cypher_key = 6,
112+
nightfall_weekly = 7,
111113

112114
separator1 = 10,
113115
the_theater_troupe = 11,
@@ -178,6 +180,7 @@ local default_categories = {
178180
'the_general',
179181
'the_vizier',
180182
'the_weaver',
183+
'flames_radiance',
181184
-- 'brann_bronzebeard', Makes no sense without a custom string for the level
182185

183186
'separator1',
@@ -198,6 +201,7 @@ local default_categories = {
198201
the_general = 5,
199202
the_vizier = 6,
200203
the_weaver = 7,
204+
flames_radiance = 8,
201205
-- brann_bronzebeard = 8,
202206

203207
separator1 = 10,
@@ -605,6 +609,7 @@ PermoksAccountManager.factions = {
605609
[2675] = { name = 'Blackwater Cartel', paragon = true, warband = 'unique' },
606610
[2677] = { name = 'Steamwheedle Cartel', paragon = true, warband = 'unique' },
607611
[2685] = { name = 'Gallagio Loyalty Rewards Club', paragon = true, type = 'renown', warband = 'unique' },
612+
[2688] = { name = 'Flame\'s Radiance', paragon = true, warband = 'unique' },
608613
}
609614

610615
PermoksAccountManager.currency = {
@@ -1947,6 +1952,9 @@ PermoksAccountManager.quests = {
19471952
},
19481953
weekly_bounti_map = {
19491954
[86371] = {questType = 'weekly'}
1955+
},
1956+
nightfall_weekly = {
1957+
[89295] = {questType = 'weekly'}
19501958
}
19511959
}
19521960

modules/factions.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,16 @@ local labelRows = {
378378
group = 'reputation',
379379
version = WOW_PROJECT_MAINLINE
380380
},
381+
flames_radiance = {
382+
label = function()
383+
return PermoksAccountManager.factions[2688].localName or 'Flame\'s Radiance'
384+
end,
385+
type = 'faction',
386+
warband = 'unique',
387+
key = 2688,
388+
group = 'reputation',
389+
version = WOW_PROJECT_MAINLINE
390+
},
381391

382392
-- wotlk
383393
alliance_vanguard = {

modules/quests.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,15 @@ local labelRows = {
12481248
group = 'resetWeekly',
12491249
version = WOW_PROJECT_MAINLINE
12501250
},
1251+
nightfall_weekly = {
1252+
IDS = {89295},
1253+
label = 'Nightfall Weekly',
1254+
type = 'quest',
1255+
questType = 'weekly',
1256+
visibility = 'hidden',
1257+
group = 'resetWeekly',
1258+
version = WOW_PROJECT_MAINLINE
1259+
},
12511260

12521261
-- professions
12531262
knowledge_tww_treasures = {

0 commit comments

Comments
 (0)