- Fixed tooltip for Auras and Voidzones, now shows sorted by damage and time.
- More fixes for Korgath encounter on Highmaul. - Added slash commands: /details reset and /details config. - Spell bars on Player Details Window now is painted with the spell spellschool color. - Multistrike doesn't count any more for spell's Minimal Damage. - Resource display got an tooltip which shows what resource is and resource gained per minute. - Clicking on report button when the report window is already open, make it close.
This commit is contained in:
@@ -1,14 +1,27 @@
|
||||
|
||||
DETAILS_STORAGE_VERSION = 1
|
||||
DETAILS_STORAGE_VERSION = 2
|
||||
|
||||
function _detalhes:CreateStorageDB()
|
||||
DetailsDataStorage = {VERSION = DETAILS_STORAGE_VERSION, RAID_STORAGE = {}}
|
||||
DetailsDataStorage = {VERSION = DETAILS_STORAGE_VERSION, RAID_STORAGE = {}, SELF_STORAGE = {}}
|
||||
return DetailsDataStorage
|
||||
end
|
||||
|
||||
DetailsDataStorage = DetailsDataStorage or _detalhes:CreateStorageDB()
|
||||
local f = CreateFrame ("frame", nil, UIParent)
|
||||
f:Hide()
|
||||
f:RegisterEvent ("ADDON_LOADED")
|
||||
|
||||
if (DetailsDataStorage.VERSION < DETAILS_STORAGE_VERSION) then
|
||||
--> do revisions
|
||||
end
|
||||
f:SetScript ("OnEvent", function (self, event, addonName)
|
||||
if (addonName == "Details_DataStorage") then
|
||||
DetailsDataStorage = DetailsDataStorage or _detalhes:CreateStorageDB()
|
||||
if (DetailsDataStorage.VERSION < DETAILS_STORAGE_VERSION) then
|
||||
--> do revisions
|
||||
if (DetailsDataStorage.VERSION == 1) then
|
||||
DetailsDataStorage.SELF_STORAGE = {}
|
||||
DetailsDataStorage.VERSION = 2
|
||||
end
|
||||
end
|
||||
print ("|cFFFFFF00Details! Storage|r: loaded!")
|
||||
DETAILS_STORAGE_LOADED = true
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user