Skip to content

Commit 036c32b

Browse files
authored
11.1 Update
2 parents 6dccc07 + c46852e commit 036c32b

File tree

10 files changed

+1779
-1426
lines changed

10 files changed

+1779
-1426
lines changed

PermoksAccountManager.lua

Lines changed: 23 additions & 2 deletions
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 = 6
55+
local INTERNALTWWVERSION = 7
5656
local INTERNALWOTLKVERSION = 6
5757
local INTERNALCATAVERSION = 3
5858
local defaultDB = {
@@ -108,7 +108,7 @@ local defaultDB = {
108108
border = {
109109
edgeSize = 5,
110110
color = {0.39, 0.39, 0.39, 1},
111-
bgColor = {0.1, 0.1, 0.1, 0.9}
111+
bgColor = {0, 0, 0, 0.9}
112112
},
113113
font = 'Expressway',
114114
fontSize = 11,
@@ -763,6 +763,27 @@ function PermoksAccountManager:Modernize(oldInternalVersion)
763763
self:AddLabelToDefaultCategory('general', 'timewarped_relic_coffer_key', 27)
764764
self:AddLabelToDefaultCategory('raid', 'blackrock_depths_raid', 2)
765765
end
766+
767+
if oldInternalVersion < 7 then
768+
self:AddLabelToDefaultCategory('general', 'veteran_crest')
769+
self:AddLabelToDefaultCategory('general', 'normal_crest')
770+
self:AddLabelToDefaultCategory('general', 'hero_crest')
771+
self:AddLabelToDefaultCategory('general', 'myth_crest')
772+
self:AddLabelToDefaultCategory('general', 'spark_drops')
773+
774+
self:AddLabelToDefaultCategory('currentweekly', 'undermine_weeklies', 19)
775+
self:AddLabelToDefaultCategory('currentweekly', 'undermine_rares')
776+
777+
self:AddLabelToDefaultCategory('raid', 'liberation_of_undermine')
778+
779+
self:UpdateDefaultCategories('renown')
780+
781+
self:ReplaceLabelOfDefaultCategory('general', 'spark_omens', 'spark_current')
782+
self:RemoveLabelFromDefaultCategory('general', 'timewarped_relic_coffer_key')
783+
self:RemoveLabelFromDefaultCategory('general', 'bronze_celebration_token')
784+
self:FixOrderOfDefaultCategories()
785+
786+
end
766787
end
767788

768789
function PermoksAccountManager:GetGUID()

0 commit comments

Comments
 (0)