General fixes and implementations
- Fixed a bug for healing done from unit to unit (by rubenvrolijk@github). - Added Vanish to the list of defensive cooldowns for Rogues (by DylanMeador@github). - Added Ny'alotha raid information (by jjholleman@github). - Fixed Eye of Corruption and Grand Delusions. - Fixed an error while retriving data from the guild (statistics sync). - Updated the ToC files for bundled plugins. - Segments Locked featured won't work for Overall Data. - Fixed an issue on Player Details Window where sometimes Death Strike healing done would blink the Rune Weapon healing done. - Regular Details Framework updates.
This commit is contained in:
@@ -28,3 +28,4 @@ locales/Details-enUS.lua
|
||||
locales/Details-deDE.lua
|
||||
Libs/LibTranslit/.pkgmeta
|
||||
a.lua
|
||||
functions/pack2.lua
|
||||
|
||||
@@ -1898,6 +1898,7 @@ function atributo_heal:MontaInfoHealingDone()
|
||||
gump:JI_AtualizaContainerBarras (amt)
|
||||
|
||||
local max_ = minhas_curas[1] and minhas_curas[1][2] or 0
|
||||
local foundSpellDetail = false
|
||||
|
||||
for index, tabela in _ipairs (minhas_curas) do
|
||||
|
||||
@@ -1929,8 +1930,9 @@ function atributo_heal:MontaInfoHealingDone()
|
||||
barra.spellid = self.nome
|
||||
barra:Show()
|
||||
|
||||
if (self.detalhes and self.detalhes == barra.show) then
|
||||
if (self.detalhes and self.detalhes == barra.show and not foundSpellDetail) then
|
||||
self:MontaDetalhes (self.detalhes, barra)
|
||||
foundSpellDetail = true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -2201,42 +2201,45 @@ function _detalhes:TrocaTabela (instancia, segmento, atributo, sub_atributo, ini
|
||||
if (_detalhes.instances_segments_locked and not iniciando_instancia) then
|
||||
for _, instance in ipairs (_detalhes.tabela_instancias) do
|
||||
if (instance.meu_id ~= instancia.meu_id and instance.ativa and not instance._postponing_switch and not instance._postponing_current) then
|
||||
if (instance.modo == 2 or instance.modo == 3) then
|
||||
--> na troca de segmento, conferir se a instancia esta frozen
|
||||
if (instance.freezed) then
|
||||
if (not iniciando_instancia) then
|
||||
instance:UnFreeze()
|
||||
else
|
||||
instance.freezed = false
|
||||
print (instance:GetSegment(), instancia:GetSegment())
|
||||
if (instance:GetSegment() >= 0 and instancia:GetSegment() ~= -1) then
|
||||
if (instance.modo == 2 or instance.modo == 3) then
|
||||
--> na troca de segmento, conferir se a instancia esta frozen
|
||||
if (instance.freezed) then
|
||||
if (not iniciando_instancia) then
|
||||
instance:UnFreeze()
|
||||
else
|
||||
instance.freezed = false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
instance.segmento = segmento
|
||||
|
||||
instance.segmento = segmento
|
||||
|
||||
if (segmento == -1) then --> overall
|
||||
instance.showing = _detalhes.tabela_overall
|
||||
elseif (segmento == 0) then --> combate atual
|
||||
instance.showing = _detalhes.tabela_vigente; --print ("==> Changing the Segment now! - classe_instancia.lua 2148")
|
||||
else --> alguma tabela do hist�rico
|
||||
instance.showing = _detalhes.tabela_historico.tabelas [segmento]
|
||||
end
|
||||
|
||||
if (not instance.showing) then
|
||||
if (not iniciando_instancia) then
|
||||
instance:Freeze()
|
||||
if (segmento == -1) then --> overall
|
||||
instance.showing = _detalhes.tabela_overall
|
||||
elseif (segmento == 0) then --> combate atual
|
||||
instance.showing = _detalhes.tabela_vigente; --print ("==> Changing the Segment now! - classe_instancia.lua 2148")
|
||||
else --> alguma tabela do hist�rico
|
||||
instance.showing = _detalhes.tabela_historico.tabelas [segmento]
|
||||
end
|
||||
return
|
||||
|
||||
if (not instance.showing) then
|
||||
if (not iniciando_instancia) then
|
||||
instance:Freeze()
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
instance.v_barras = true
|
||||
instance.showing [atributo].need_refresh = true
|
||||
|
||||
if (not _detalhes.initializing and not iniciando_instancia) then
|
||||
instance:ResetaGump()
|
||||
instance:AtualizaGumpPrincipal (true)
|
||||
end
|
||||
|
||||
_detalhes:SendEvent ("DETAILS_INSTANCE_CHANGESEGMENT", nil, instance, segmento)
|
||||
end
|
||||
|
||||
instance.v_barras = true
|
||||
instance.showing [atributo].need_refresh = true
|
||||
|
||||
if (not _detalhes.initializing and not iniciando_instancia) then
|
||||
instance:ResetaGump()
|
||||
instance:AtualizaGumpPrincipal (true)
|
||||
end
|
||||
|
||||
_detalhes:SendEvent ("DETAILS_INSTANCE_CHANGESEGMENT", nil, instance, segmento)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -308,6 +308,9 @@
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--> internal functions
|
||||
-- _detalhes.statistics = {container_calls = 0, container_pet_calls = 0, container_unknow_pet = 0, damage_calls = 0, heal_calls = 0, absorbs_calls = 0, energy_calls = 0, pets_summons = 0}
|
||||
function _detalhes:StartCombat(...)
|
||||
return _detalhes:EntrarEmCombate (...)
|
||||
end
|
||||
|
||||
-- ~start ~inicio ~novo �ovo
|
||||
function _detalhes:EntrarEmCombate (...)
|
||||
|
||||
+3
-2
@@ -1243,7 +1243,7 @@
|
||||
end
|
||||
|
||||
--wallpaper
|
||||
local background = f:CreateTexture (nil, "border")
|
||||
local background = f:CreateTexture ("$parentBackgroundImage", "border")
|
||||
background:SetAlpha (0.3)
|
||||
background:SetPoint ("topleft", f, "topleft", 6, -65)
|
||||
background:SetPoint ("bottomright", f, "bottomright", -10, 28)
|
||||
@@ -1386,7 +1386,7 @@
|
||||
|
||||
--received one encounter table
|
||||
elseif (guildSyncID == "A") then
|
||||
f.DownloadedAmount = f.DownloadedAmount + 1
|
||||
f.DownloadedAmount = (f.DownloadedAmount or 0) + 1
|
||||
|
||||
--size = 1 byte per characters in the string
|
||||
f.EstimateSize = length * f.RequestedAmount > f.EstimateSize and length * f.RequestedAmount or f.RequestedAmount
|
||||
@@ -1454,6 +1454,7 @@
|
||||
local instanceId = _detalhes:GetInstanceIdFromEncounterId (encounterId)
|
||||
if (instanceId) then
|
||||
local file, L, R, T, B = _detalhes:GetRaidBackground (instanceId)
|
||||
|
||||
background:SetTexture (file)
|
||||
background:SetTexCoord (L, R, T, B)
|
||||
end
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
|
||||
do
|
||||
--> data for Ny'alotha the Waking City (BFA tier 4)
|
||||
|
||||
--F:\World of Warcraft\_retail_\BlizzardInterfaceArt\Interface\GLUES\LOADINGSCREENS\Expansion07\Main\LOADINGSCREEN_NzothRAID
|
||||
local INSTANCE_EJID = 1180
|
||||
local INSTANCE_MAPID = 2217
|
||||
local HDIMAGESPATH = "Details\\images\\raid"
|
||||
local HDIMAGESPATH = [[Details\images\raid]]
|
||||
local HDFILEPREFIX = "NyalothaRaid"
|
||||
local LOADINGSCREEN_FILE, LOADINGSCREEN_COORDS = "Expansion07\\Main\\LoadingScreen_Nzothraid", {0, 1, 285/1024, 875/1024}
|
||||
local LOADINGSCREEN_FILE, LOADINGSCREEN_COORDS = [[Expansion07\Main\LOADINGSCREEN_NzothRAID]], {0, 1, 285/1024, 875/1024}
|
||||
local EJ_LOREBG = "UI-EJ-LOREBG-Nyalotha"
|
||||
|
||||
|
||||
local PORTRAIT_LIST = {
|
||||
3256385, --Wrathion - Wrathion, the Black Emperor
|
||||
3256380, --Maut
|
||||
@@ -77,7 +77,6 @@ do
|
||||
tinsert (BOSSNAMES, bossName)
|
||||
local encounterTable = {
|
||||
boss = bossName,
|
||||
--portrait = "Interface\\EncounterJournal\\" .. PORTRAIT_LIST [i],
|
||||
portrait = PORTRAIT_LIST [i],
|
||||
}
|
||||
tinsert (ENCOUNTERS, encounterTable)
|
||||
@@ -85,7 +84,7 @@ do
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
_detalhes:InstallEncounter ({
|
||||
id = INSTANCE_MAPID, --map id
|
||||
ej_id = INSTANCE_EJID, --encounter journal id
|
||||
@@ -93,7 +92,7 @@ do
|
||||
icons = "Interface\\AddOns\\" .. HDIMAGESPATH .. "\\" .. HDFILEPREFIX .. "_BossFaces",
|
||||
icon = "Interface\\AddOns\\" .. HDIMAGESPATH .. "\\" .. HDFILEPREFIX .. "_Icon256x128",
|
||||
is_raid = true,
|
||||
backgroundFile = {file = "Interface\\Glues\\LOADINGSCREENS\\" .. LOADINGSCREEN_FILE, coords = LOADINGSCREEN_COORDS},
|
||||
backgroundFile = {file = [[Interface\GLUES\LOADINGSCREENS\]] .. LOADINGSCREEN_FILE, coords = LOADINGSCREEN_COORDS},
|
||||
backgroundEJ = "Interface\\EncounterJournal\\" .. EJ_LOREBG,
|
||||
|
||||
encounter_ids = ENCOUNTER_ID_EJ,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 80205
|
||||
## Interface: 80300
|
||||
## Title: Details!: Storage
|
||||
## Notes: Stores information for Details! Damage Meter
|
||||
## DefaultState: Enabled
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 80205
|
||||
## Interface: 80300
|
||||
## 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
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
## Interface: 80205
|
||||
## Interface: 80300
|
||||
## 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: 80205
|
||||
## Interface: 80300
|
||||
## 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: 80205
|
||||
## Interface: 80300
|
||||
## 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: 80205
|
||||
## Interface: 80300
|
||||
## 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