Tumble files around a bit

This commit is contained in:
2025-05-16 10:20:19 +02:00
parent 0e3166a410
commit 003f90126d
1595 changed files with 75381 additions and 70006 deletions

View File

@@ -0,0 +1,20 @@
TRIGGER
function()
local buff = UnitBuff("player", "Xavaric's Magnum Opus") or 0
if buff ~= nil then return true else return false end
end
DURATION
function()
local max_absorb = math.floor(UnitHealthMax("player") / 4)
local absorb = select(17, UnitBuff("player", "Xavaric's Magnum Opus")) or 0
local percentage = math.floor((absorb / max_absorb) * 100)
return percentage, 100, true
end
DISPLAY
function()
local max_absorb = math.floor(UnitHealthMax("player") / 4)
local absorb = select(17, UnitBuff("player", "Xavaric's Magnum Opus")) or 0
return math.floor((absorb / max_absorb) * 100)
end