mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
libdebuff: fix rank extraction
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ local scanner = libtipscan:GetScanner("libdebuff")
|
||||
|
||||
function libdebuff:GetDuration(effect, rank)
|
||||
if L["debuffs"][effect] then
|
||||
local rank = rank and tonumber(string.gsub(rank, RANK .. " ", "")) or 0
|
||||
local rank = rank and tonumber((string.gsub(rank, RANK .. " ", ""))) or 0
|
||||
local rank = L["debuffs"][effect][rank] and rank or libdebuff:GetMaxRank(effect)
|
||||
local duration = L["debuffs"][effect][rank]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user