View Bug Report
Does not announce when in party
Bug #: 6285
File: PortalHelper
Date: 12-10-09 07:27 PM
By: Spontyman
Status: Fixed
You can't make raid warnings in a party with the most recent patch, 3.3.

(I made a simple edit to the code myself to make it work until it's updated here:)

Code:
--------------------
--Portal Announce
--------------------
function PortalHelper_Announce(where)
	if GetNumPartyMembers() > 0 or GetNumRaidMembers() > 0 then
		if (GetNumPartyMembers() >0 and GetNumRaidMembers() ==0) then
			SendChatMessage("Incoming " .. where .. " Portal!", "Party")
		else
			if (IsRaidLeader() or IsRaidOfficer()) then
				SendChatMessage("Incoming " .. where .. " Portal!", "RAID_WARNING")
			else
				SendChatMessage("Incoming " .. where .. " Portal!", "Raid")
			end
		end
	end
end

--------------------
--Ritual announce
--------------------
function PortalHelper_RoR()
	if UnitInBattleground("player") then
		SendChatMessage("Creating a Mage Table! Click!", "BATTLEGROUND")
	elseif GetNumPartyMembers() > 0 or GetNumRaidMembers() > 0 then
		if (GetNumPartyMembers() >0 and GetNumRaidMembers() ==0) then
			SendChatMessage("Incoming "..GetSpellLink(58659).."! Click!", "Party")
		else
			if (IsRaidLeader() or IsRaidOfficer()) then
				SendChatMessage("Incoming "..GetSpellLink(58659).."! Click!", "RAID_WARNING")
			else
				SendChatMessage("Incoming "..GetSpellLink(58659).."! Click!", "Raid")
			end
		end
	end
end

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Travisstorma - 01-02-10 08:59 AM
Should be fixed now I think. Haven't tested though.