libdebuff: add rank based kidney shot duration

This commit is contained in:
@_@
2022-11-27 16:55:43 +01:00
committed by GitHub
parent c4b5036c3e
commit 31be3ded16
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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]