Originally Posted by
ipass
Hi i was wondering if anyone has all the Shammy Totems Profile?
I can get Searing Totem working!!! not Healing Stream Totem or EarthBind or Call of Elements!
Healing Stream totem
SpellID=5394
Actions=/startattack
CODE:
if select(3,GetTotemInfo(3)) == 0
then return true end
AFAIK healing should be water(3) correct?
EarthBind Totem
SpellId=2484
Actions=/startattack
CODE:
local _, EarthbindTotem = GetTotemInfo(2)
if EarthbindTotem == "" then
return true
end
Call Of Elements
SpellId=66842
Action=/strartattack
Code:
if select(3,GetTotemInfo(2)) == 0
and select(3,GetTotemInfo(3)) == 0
and select(3,GetTotemInfo(4)) == 0
then return true end
Any help is Greatly Appreciated:P
thanks
ipass
If all of the totems are going to be the same and none of them are going to be replaced anytime during the fight, like with my enhancement profile, I just make it really simple. For example:
Name: Call of the Elements
SpellID: 66842
Delay: 0
Code:
local timer = GetTotemTimeLeft(3)
if timer < 10 or timer == nil then
return true
end
And my Searing Totem is just:
Name: searing Totem
SpellID: 3599
Delay: 0
Code:
local haveTotem, totemName, startTime, duration = GetTotemInfo(1)
if totemName ~= "Searing Totem" then
return true
else
end
P.S. GetTotemInfo(id) where ID is the number of the totem is the best to determine info about a totem being put down/used