- added new sub attribute: buff uptime.
- minor bug fixes when updating energy attribute. - fixed issue were changing attributes clicking directly on attribute name. - some fixes to prevent unknown pet owner name. - pet scan now is more smooth and scheduled to 1 scan per second. - disabling auras doesn't disable healing absorbs any more. - friendly fire doesn't check pets any more, only players. - fixed problem were pet damage on target isn't added to the owner target. - fixed issue with cooldown refresh which isn't tracked before. - added cooldown to death log and also the time of last cooldown used. - added command /details worldboss which runs the macro showing world boss killed. - added command /details updates showing change log window. - added absorbs for monk 2P, shammy 2P and Stolen Relic of Zuldazar trinket. - added a change log inside the addon showing latest changes.
This commit is contained in:
@@ -30,7 +30,7 @@ do
|
||||
|
||||
--[[ MISC ]]
|
||||
misc = 4, --> identifier
|
||||
[4] = 6, --> sub attributes
|
||||
[4] = 7, --> sub attributes
|
||||
|
||||
--[[ CUSTOM ]]
|
||||
custom = 5,
|
||||
@@ -130,6 +130,7 @@ do
|
||||
dispell = 4,
|
||||
deaths = 5,
|
||||
cooldowns_defensive = 6,
|
||||
buff_uptime = 7,
|
||||
lista = { --[[ String Names ]]
|
||||
Loc ["STRING_ATTRIBUTE_MISC_CCBREAK"],
|
||||
Loc ["STRING_ATTRIBUTE_MISC_RESS"],
|
||||
@@ -137,6 +138,7 @@ do
|
||||
Loc ["STRING_ATTRIBUTE_MISC_DISPELL"],
|
||||
Loc ["STRING_ATTRIBUTE_MISC_DEAD"],
|
||||
Loc ["STRING_ATTRIBUTE_MISC_DEFENSIVE_COOLDOWNS"],
|
||||
Loc ["STRING_ATTRIBUTE_MISC_BUFF_UPTIME"],
|
||||
},
|
||||
icones = {
|
||||
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {0, .125, 0, 1}},
|
||||
@@ -144,9 +146,10 @@ do
|
||||
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.25, .375, 0, 1}},
|
||||
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.375, .5, 0, 1}},
|
||||
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.5, .625, 0, 1}},
|
||||
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.625, 0.75, 0, 1}}
|
||||
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {.625, 0.75, 0, 1}},
|
||||
{"Interface\\AddOns\\Details\\images\\atributos_icones_misc", {0.75, 0.875, 0, 1}}
|
||||
},
|
||||
internal = {"cc_break", "ress", "interrupt", "dispell", "dead", "cooldowns_defensive"}
|
||||
internal = {"cc_break", "ress", "interrupt", "dispell", "dead", "cooldowns_defensive", "buff_uptime"}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,6 +160,7 @@ do
|
||||
function _detalhes:GetSubAttributeName (attribute, subAttribute)
|
||||
if (attribute == 5) then
|
||||
local CustomObject = _detalhes.custom [subAttribute]
|
||||
-- ??
|
||||
return CustomObject.name
|
||||
end
|
||||
return _detalhes.sub_atributos [attribute].lista [subAttribute]
|
||||
|
||||
Reference in New Issue
Block a user