View Single Post
01-10-10, 12:42 PM   #16
opismahname
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 23
Code:
   1.
      local function eventHandler(self, event, ...)
   2.
          local active = UnitBuff('player', 'Righteous Fury')
   3.
          if not hasrf and active then
   4.
              hasrf = true
   5.
              print('Rigtheous Fury has been activated')
   6.
          elseif hasrf and not active then
   7.
              hasrf = false
   8.
          end
   9.
      end
Don't think it's right yet, this is hard xD
  Reply With Quote