Update
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
--DISPLAY
|
||||
function()
|
||||
if GetSpecialization() == 1 then
|
||||
local AP = select(4, UnitDebuff("focus", "Judgment of Light")) or 0
|
||||
return AP
|
||||
end
|
||||
if GetSpecialization() == 2 then
|
||||
local AP = 0
|
||||
for i = 1, 40 do
|
||||
if UnitExists("nameplate" .. i) and UnitDebuff("nameplate" .. i,"Judgment of Light") then
|
||||
local APP = select(4, UnitDebuff("nameplate" .. i, "Judgment of Light")) or 0
|
||||
AP = AP + APP
|
||||
end
|
||||
end
|
||||
return AP
|
||||
end
|
||||
--DISPLAY
|
||||
function()
|
||||
if GetSpecialization() == 1 then
|
||||
local AP = select(4, UnitDebuff("focus", "Judgment of Light")) or 0
|
||||
return AP
|
||||
end
|
||||
if GetSpecialization() == 2 then
|
||||
local AP = 0
|
||||
for i = 1, 40 do
|
||||
if UnitExists("nameplate" .. i) and UnitDebuff("nameplate" .. i,"Judgment of Light") then
|
||||
local APP = select(4, UnitDebuff("nameplate" .. i, "Judgment of Light")) or 0
|
||||
AP = AP + APP
|
||||
end
|
||||
end
|
||||
return AP
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user