kevinst
02-07-2007, 08:18 AM
Is there any function to detect if a totem is active?
Specifically, Searing Totem. I can check to see if buff type totems are active by using the GetPlayerBuff(i, "HELPFUL|HARMFUL|PASSIVE"). This works fine for totems which give you a buff, such as Lightning Sheild, but I'm after the others.
I also know that you can hook the function to see when a totem is cast, but that will not work for what I am trying to do.
What I have done so far is tried to detect is using the various Unit functions, e.g. trying to get it's level with UnitLevel("Searing Totem"). But I haven't had any luck with those.
Thanks in advance.
Specifically, Searing Totem. I can check to see if buff type totems are active by using the GetPlayerBuff(i, "HELPFUL|HARMFUL|PASSIVE"). This works fine for totems which give you a buff, such as Lightning Sheild, but I'm after the others.
I also know that you can hook the function to see when a totem is cast, but that will not work for what I am trying to do.
What I have done so far is tried to detect is using the various Unit functions, e.g. trying to get it's level with UnitLevel("Searing Totem"). But I haven't had any luck with those.
Thanks in advance.