Advertisement
krazyito65

Marks... imps

Jul 19th, 2015
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.78 KB | None | 0 0
  1. function()
  2.    
  3.     local exists = UnitExists("mouseover") or  UnitExists("target")
  4.    
  5.     if exists then
  6.         local name = UnitName("mouseover") or UnitName("target")
  7.         local icon = GetRaidTargetIndex ("mouseover") or GetRaidTargetIndex("target")
  8.        
  9.        
  10.         if name == "Дикий пироман" and icon == nil then -- Wild Pyromaniac
  11.         if UnitExists("mouseover") then
  12.                 SetRaidTarget("mouseover", aura_env.count);
  13.             elseif UnitExists("target") then
  14.                 SetRaidTarget("target", aura_env.count);
  15.             end
  16.            
  17.             aura_env.count = aura_env.count + 1
  18.         end
  19.        
  20.         if aura_env.count == 4 then
  21.             aura_env.count = 1
  22.         end
  23.        
  24.     end
  25.    
  26.    
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement