v9.0.5.8357.144
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
|
||||
DETAILS_STORAGE_VERSION = 4
|
||||
DETAILS_STORAGE_VERSION = 5
|
||||
|
||||
function _detalhes:CreateStorageDB()
|
||||
DetailsDataStorage = {
|
||||
VERSION = DETAILS_STORAGE_VERSION,
|
||||
[14] = {}, --normal mode
|
||||
[15] = {}, --heroic mode
|
||||
[16] = {}, --mythic mode
|
||||
[14] = {}, --normal mode (raid)
|
||||
[15] = {}, --heroic mode (raid)
|
||||
[16] = {}, --mythic mode (raid)
|
||||
["mythic_plus"] = {}, --(dungeons)
|
||||
["saved_encounters"] = {}, --(a segment)
|
||||
}
|
||||
return DetailsDataStorage
|
||||
end
|
||||
@@ -23,7 +25,7 @@ f:SetScript ("OnEvent", function (self, event, addonName)
|
||||
|
||||
if (DetailsDataStorage.VERSION < DETAILS_STORAGE_VERSION) then
|
||||
--> do revisions
|
||||
if (DetailsDataStorage.VERSION < 4) then
|
||||
if (DetailsDataStorage.VERSION < 5) then
|
||||
table.wipe (DetailsDataStorage)
|
||||
DetailsDataStorage = _detalhes:CreateStorageDB()
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 90002
|
||||
## Interface: 90005
|
||||
## Title: Details!: Storage
|
||||
## Notes: Stores information for Details! Damage Meter
|
||||
## DefaultState: Enabled
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 90002
|
||||
## Interface: 90005
|
||||
## Title: Details!: Encounter Breakdown (plugin)
|
||||
## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation.
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -392,7 +392,8 @@ end
|
||||
if (playerTable) then
|
||||
local line = self:GetLine (i)
|
||||
if (line) then
|
||||
local thisPlayerInfo = playerInfo[playerTable.Name]
|
||||
|
||||
local thisPlayerInfo = playerInfo[playerTable.UnitNameRealm]
|
||||
if (thisPlayerInfo) then
|
||||
local playerCovenantId = thisPlayerInfo.covenantId
|
||||
if (playerCovenantId > 0) then
|
||||
@@ -406,7 +407,7 @@ end
|
||||
end
|
||||
|
||||
--repair status
|
||||
local thisPlayerGearInfo = gearInfo[playerTable.Name]
|
||||
local thisPlayerGearInfo = gearInfo[playerTable.UnitNameRealm]
|
||||
if (thisPlayerGearInfo) then
|
||||
line.RepairStatus:SetText(thisPlayerGearInfo.durability .. "%")
|
||||
else
|
||||
@@ -639,6 +640,7 @@ end
|
||||
for i = 1, iterateAmount do
|
||||
local unitID = groupTypeID .. i
|
||||
local unitName = UnitName (unitID)
|
||||
local unitNameWithRealm = GetUnitName(unitID, true)
|
||||
local cleuName = _detalhes:GetCLName (unitID)
|
||||
local unitSerial = UnitGUID (unitID)
|
||||
local _, unitClass, unitClassID = UnitClass (unitID)
|
||||
@@ -652,6 +654,7 @@ end
|
||||
|
||||
tinsert (PlayerData, {unitName, unitClassID,
|
||||
Name = unitName,
|
||||
UnitNameRealm = unitNameWithRealm,
|
||||
Class = unitClass,
|
||||
Serial = unitSerial,
|
||||
Role = unitRole,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 90002
|
||||
## Interface: 90005
|
||||
## Title: Details!: Raid Check (plugin)
|
||||
## Notes: Show talents and item level for all members in your group, also shows food and flask state.
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -337,7 +337,7 @@ local function CreatePluginFrames()
|
||||
|
||||
if (castInfo and castInfo.Interrupted and castInfo.InterruptedPct) then
|
||||
CooldownFrame_SetDisplayAsPercentage(square.cooldown, abs(castInfo.InterruptedPct - 1))
|
||||
square.interruptedTexture:Show()
|
||||
--square.interruptedTexture:Show()
|
||||
return
|
||||
end
|
||||
|
||||
@@ -372,6 +372,7 @@ local function CreatePluginFrames()
|
||||
f.interruptedTexture = f:CreateTexture(nil, "overlay")
|
||||
f.interruptedTexture:SetColorTexture(1, 0, 0, 0.4)
|
||||
f.interruptedTexture:SetAllPoints()
|
||||
f.interruptedTexture:Hide()
|
||||
|
||||
local cooldownFrame = CreateFrame("cooldown", "$parentCooldown", f, "CooldownFrameTemplate, BackdropTemplate")
|
||||
cooldownFrame:SetAllPoints()
|
||||
@@ -427,7 +428,7 @@ local function CreatePluginFrames()
|
||||
StreamOverlay:UpdateCooldownFrame(square, true, startTime, endTime, castinfo)
|
||||
|
||||
if (castinfo.Interrupted) then
|
||||
square.interruptedTexture:Show()
|
||||
--square.interruptedTexture:Show()
|
||||
else
|
||||
square.interruptedTexture:Hide()
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 90002
|
||||
## Interface: 90005
|
||||
## Title: Details!: Streamer (plugin)
|
||||
## Notes: Show which spells you are casting, viewers can see what are you doing and follow your steps.
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 90002
|
||||
## Interface: 90005
|
||||
## Title: Details!: Tiny Threat (plugin)
|
||||
## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel.
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 90002
|
||||
## Interface: 90005
|
||||
## Title: Details!: Vanguard (plugin)
|
||||
## Notes: Show the health and debuffs for tanks in your group.
|
||||
## SavedVariablesPerCharacter: _detalhes_databaseVanguard
|
||||
|
||||
Reference in New Issue
Block a user