View Single Post
01-04-12, 07:56 PM   #15
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
After looking at some of my own code, checking the duration also works:

Code:
for slot = 1, 4 do
	local _, name, start, duration, icon = GetTotemInfo(slot)
	if duration > 0 then
		-- This totem is active.
	else
		-- This totem is not active.
	end
end
  Reply With Quote