View Single Post
Unread 11-13-12, 05:24 AM   #3
Resike
A Molten Giant
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 563
Rbg

Just wrote this.

Code:
local IsRated
IsRated = IsRatedBattleground()
if IsRated == true then
	local AllianceSpellName = select(1, GetSpellInfo(81748))
	local HordeSpellName = select(1, GetSpellInfo(81744))
	-- Alliance RBG buff
	if AllianceSpellName ~= nil and select(11, UnitBuff("player", AllianceSpellName)) == 81748 then

	 -- Horde RBG buff
	elseif HordeSpellName ~= nil and select(11, UnitBuff("player", HordeSpellName)) == 81744 then

	end
end

Last edited by Resike : 11-23-12 at 03:37 PM.
Resike is offline   Reply With Quote