This commit is contained in:
2024-08-24 22:41:08 +02:00
parent 77f1ac5d7a
commit c21f59778f
431 changed files with 68581 additions and 68581 deletions

View File

@@ -1,25 +1,25 @@
--TRIGGER
function()
return true
end
--DURATION
function()
if GetSpecialization() == 1 then
local AP = select(4, UnitDebuff("focus", "Judgment of Light")) or 0
local maxAP = 40
return AP, maxAP, 1
end
if GetSpecialization() == 2 then
local AP = 0
local maxAP = 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
maxAP = maxAP + 40
AP = AP + APP
end
end
end
return AP, maxAP, 1
--TRIGGER
function()
return true
end
--DURATION
function()
if GetSpecialization() == 1 then
local AP = select(4, UnitDebuff("focus", "Judgment of Light")) or 0
local maxAP = 40
return AP, maxAP, 1
end
if GetSpecialization() == 2 then
local AP = 0
local maxAP = 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
maxAP = maxAP + 40
AP = AP + APP
end
end
end
return AP, maxAP, 1
end