- Auto current feature won't change to the new segment if the player is interacting with the winddow.
- Added the spell uptime on damage player detail window. - Added Rune Tap as cooldown. - Report lines for deaths is now inverted. No need to scroll up the chat to see the cause of death anymore.
This commit is contained in:
@@ -3173,6 +3173,16 @@ function atributo_damage:MontaDetalhesDamageDone (spellid, barra, instancia)
|
||||
end
|
||||
end
|
||||
|
||||
local hits_string = "" .. total_hits
|
||||
|
||||
local misc_actor = info.instancia.showing (4, self:name())
|
||||
if (misc_actor) then
|
||||
local debuff_uptime = misc_actor.debuff_uptime_spells and misc_actor.debuff_uptime_spells._ActorTable [esta_magia.id] and misc_actor.debuff_uptime_spells._ActorTable [esta_magia.id].uptime
|
||||
if (debuff_uptime) then
|
||||
hits_string = hits_string .. " |cFFDDDD44(" .. _math_floor (debuff_uptime / info.instancia.showing:GetCombatTime() * 100) .. "% uptime)|r"
|
||||
end
|
||||
end
|
||||
|
||||
gump:SetaDetalheInfoTexto ( index, 100,
|
||||
Loc ["STRING_GERAL"],
|
||||
Loc ["STRING_DAMAGE"]..": ".._detalhes:ToK (esta_magia.total),
|
||||
@@ -3180,7 +3190,7 @@ function atributo_damage:MontaDetalhesDamageDone (spellid, barra, instancia)
|
||||
schooltext, --offhand,
|
||||
Loc ["STRING_AVERAGE"] .. ": " .. _detalhes:comma_value (media),
|
||||
this_dps,
|
||||
Loc ["STRING_HITS"]..": " .. total_hits)
|
||||
Loc ["STRING_HITS"]..": " .. hits_string)
|
||||
|
||||
--> NORMAL
|
||||
local normal_hits = esta_magia.n_amt
|
||||
@@ -3280,6 +3290,8 @@ function atributo_damage:MontaDetalhesDamageDone (spellid, barra, instancia)
|
||||
t4[8] = esta_magia.m_amt .. " / " .. _cstr ("%.1f", esta_magia.m_amt/total_hits*100) .. "%"
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
_table_sort (data, _detalhes.Sort1)
|
||||
|
||||
|
||||
@@ -1627,7 +1627,8 @@ do
|
||||
[138925] = true, -- trinket "Stolen Relic of Zuldazar"
|
||||
|
||||
}
|
||||
|
||||
|
||||
-- ~cooldown 1 self
|
||||
_detalhes.DefensiveCooldownSpellsNoBuff = {
|
||||
|
||||
[20594] = {120, 8, 1}, --racial stoneform
|
||||
@@ -1639,6 +1640,7 @@ do
|
||||
[48743] = {120, 0, 1}, --Death Pact
|
||||
[51052] = {120, 3, 0}, --Anti-Magic Zone
|
||||
[152279] = {120, 6}, -- "Breath of Sindragosa"
|
||||
[48982] = {30, 0, 1}, -- "Blood Täp"
|
||||
|
||||
--["DRUID"] = {},
|
||||
[740] = {480, 8, 0}, --Tranquility
|
||||
|
||||
Reference in New Issue
Block a user