View Single Post
01-10-10, 02:49 PM   #25
opismahname
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 23
Originally Posted by mrruben5 View Post
hasrf wasn't supposed to be a function. right now, it's only evaluated before you set the event handler. What you want to do is check it you have the righteous fury buff active on you every time you gain or loose an aura.

The first return value of UnitBuff will give you:
  • The name of the buff as a string when it is active.
  • nil, when the buff is not active.
A string will always evaluate to true. nil will evaluate as false.
And how do i make the name of the buff to a string when its active, and to a nil when its not active?

It seems to be hopless for me to begin making addons, this is to hard :S
  Reply With Quote