mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-09 15:10:00 +00:00
libdebuff: add rank based kidney shot duration
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ local lastspell
|
||||
|
||||
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