updated lib RaidStatus and general bug fixes; ToC Updates

This commit is contained in:
Tercio Jose
2021-07-01 18:46:46 -03:00
parent 2da8f23489
commit 07a60b42ec
15 changed files with 306 additions and 111 deletions
@@ -1,4 +1,4 @@
## Interface: 90005
## Interface: 90100
## Title: Details!: Storage
## Notes: Stores information for Details! Damage Meter
## DefaultState: Enabled
@@ -1480,7 +1480,8 @@ function EncounterDetails:OpenAndRefresh (_, segment)
local jaFoi = {}
for id, tabela in _pairs (habilidades_usadas) do
local spellname = GetSpellInfo (tabela [4])
local spellname = Details.GetSpellInfo(tabela [4])
if (not jaFoi [spellname]) then
tabela [5] = spellname
tabela_em_ordem [#tabela_em_ordem+1] = tabela
@@ -1,4 +1,4 @@
## Interface: 90005
## Interface: 90100
## 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
@@ -67,7 +67,7 @@ end
tinsert (UISpecialFrames, "Details_RaidCheck")
DetailsRaidCheck:SetPluginDescription (Loc ["STRING_RAIDCHECK_PLUGIN_DESC"])
local version = "v2.0"
local version = "v3.0.1"
local debugmode = false
--local debugmode = true
@@ -380,8 +380,9 @@ end
data = dataInOrder
local raidStatusLib = LibStub:GetLibrary("LibRaidStatus-1.0")
local playerInfo = raidStatusLib.playerInfoManager.GetPlayerInfo()
local gearInfo = raidStatusLib.gearManager.GetGearTable()
--get the information of all players
local playersInfoData = raidStatusLib.playerInfoManager.GetAllPlayersInfo()
local playersGearData = raidStatusLib.gearManager.GetAllPlayersGear()
local libRaidStatus = 0
@@ -393,7 +394,7 @@ end
local line = self:GetLine (i)
if (line) then
local thisPlayerInfo = playerInfo[playerTable.UnitNameRealm]
local thisPlayerInfo = playersInfoData[playerTable.UnitNameRealm]
if (thisPlayerInfo) then
local playerCovenantId = thisPlayerInfo.covenantId
if (playerCovenantId > 0) then
@@ -407,7 +408,7 @@ end
end
--repair status
local thisPlayerGearInfo = gearInfo[playerTable.UnitNameRealm]
local thisPlayerGearInfo = playersGearData[playerTable.UnitNameRealm]
if (thisPlayerGearInfo) then
line.RepairStatus:SetText(thisPlayerGearInfo.durability .. "%")
else
@@ -615,6 +616,7 @@ end
end)
local update_panel = function (self, elapsed)
show_panel.NextUpdate = show_panel.NextUpdate - elapsed
if (show_panel.NextUpdate > 0) then
@@ -684,9 +686,11 @@ end
local talentsTable = _detalhes:GetTalents (unitSerial)
unitClassID = ((unitClassID + 128) ^ 4) + tonumber (string.byte (unitName, 1) .. "" .. string.byte (unitName, 2))
local unitNameWithRealm = GetUnitName(unitID, true)
tinsert (PlayerData, {unitName, unitClassID,
Name = unitName,
UnitNameRealm = unitNameWithRealm,
Class = unitClass,
Serial = unitSerial,
Role = unitRole,
@@ -1,4 +1,4 @@
## Interface: 90005
## Interface: 90100
## 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
@@ -1,4 +1,4 @@
## Interface: 90005
## Interface: 90100
## 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: 90005
## Interface: 90100
## 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: 90005
## Interface: 90100
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard