I've modified a modified script/addon (written by Gello, and Daan) for autoinnerfire/druid buffs.
I've modded it for my shaman, and it seems that the weapon buffs for shaman are not considered buffs, so the IsBuffActive command won't handle it. I've tried to use a timer, and here is what I have:
2 global variables:
Code:
WBuffTimer = GetTime();
Rebuff = 1;
Then in the actual function:
Code:
elseif not found1 and AutoAllBuff and not mounted and not shapeshifted and (Rebuff < WBuffTimer) then
WBuffTimer = GetTime();
Rebuff = (WBuffTimer + 290);
WBuff_Cast()
It's a 5 min buff, and it works initially on UI load, but after 290 seconds, it will not rebuff/call the WBuff_Cast() function. There something I'm missing?
Thanks!