View Single Post
10-10-10, 03:35 AM   #11
abija
A Kobold Labourer
AddOn Author - Click to view addons
Join Date: Apr 2005
Posts: 1
You can try
Code:
local function getSpellTime(spell)
	local name, _, _, _, _, dur, exp = UnitDebuff("target", spell, nil, "PLAYER")
	if name then
	    return string.format("%d", exp - GetTime())
	end
end