- Fixed a problem with the Calc Leech plugin.
- Fixed a problem when reporting buff uptime.
This commit is contained in:
@@ -441,6 +441,9 @@ function atributo_misc:ReportSingleCooldownLine (misc_actor, instancia)
|
||||
end
|
||||
|
||||
local buff_format_name = function (spellid)
|
||||
if (_type (spellid) == "string") then
|
||||
return spellid
|
||||
end
|
||||
return _detalhes:GetSpellLink (spellid)
|
||||
end
|
||||
local buff_format_amount = function (t)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -11,7 +11,7 @@ do
|
||||
|
||||
--> minimal details version required to run this plugin
|
||||
local MINIMAL_DETAILS_VERSION_REQUIRED = 81
|
||||
local CLEECH_VERSION = "v1.0"
|
||||
local CLEECH_VERSION = "v1.1"
|
||||
|
||||
--> create a plugin object
|
||||
local calcLeech = Details:NewPluginObject ("Details_CalcLeech", DETAILSPLUGIN_ALWAYSENABLED)
|
||||
@@ -81,7 +81,7 @@ do
|
||||
|
||||
for i = 1, 40 do
|
||||
local name, _, _, _, _, _, _, source, _, _, id, _, _, _, leech = UnitAura (target_name, i)
|
||||
if (name and id == 184671) then
|
||||
if (name and id == 184671 and source) then
|
||||
rosterLeechAmount [UnitName (source)] = leech
|
||||
total_leech = total_leech + leech
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user