- 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:
tercio
2014-12-14 22:48:12 -02:00
parent 47bc71010c
commit bd7b2c3ecf
24 changed files with 830 additions and 238 deletions
@@ -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)