Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-13-05, 02:09 PM   #1
Coskesh
A Deviate Faerie Dragon
Join Date: Jun 2005
Posts: 11
What am I doing wrong?

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!
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » What am I doing wrong?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off