libcast: update documentation

This commit is contained in:
shagu
2018-11-01 15:37:04 +01:00
parent 5dfe5a4899
commit be913eac86
2 changed files with 37 additions and 16 deletions
+3 -1
View File
@@ -10,9 +10,11 @@ setfenv(1, pfUI:GetEnvironment())
-- Returns debuff informations on the given effect of the specified unit.
-- name, rank, texture, stacks, dtype, duration, timeleft
-- return instantly if we're not on a vanilla client
if pfUI.client > 11200 then return end
-- return instantly when another libdebuff is already active
if pfUI.api.libdebuff then return end
if pfUI.client >= 20000 then return end
local libdebuff = CreateFrame("Frame", "pfdebuffsScanner", UIParent)
local scanner = libtipscan:GetScanner("libdebuff")