Download
(1Kb)
Download
Updated: 08-16-16 12:41 AM
Pictures
File Info
Compatibility:
Legion (7.0.3)
Updated:08-16-16 12:41 AM
Created:05-01-12 03:08 PM
Downloads:2,238
Favorites:5
MD5:
Categories:Raid Mods, Chat Mods, Group, Guild & Friends

SayMassRez

Version: 160815
by: bitbyte [More]

Alerts group when Mass Resurrection is detected with counts of the dead.

Check out my other mods:
- SaySapped
- SayGMOTD
- SayMassRez

2016-08-15: updated for 7.0; updated SpellIDs, removed retired defbuff
2013-10-15: updated toc for 6.0
2013-10-01: updated toc for 5.4
2013-05-22: updated for 5.3
2012-10-01: updated for 5.0
2012-05-01: Initial public release; Happy Loyalty Day!
Post A Reply Comment Options
Unread 07-25-16, 09:33 PM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 548
Uploads: 13
a fix for myself in legion:
Code:
local SayMassRez = CreateFrame("Frame")

SayMassRez:SetScript("OnEvent",function(_,_,_,event, _,_,sourceName, _,_,_,_,_,_,spellId)
	if ((spellId == 212040) or (spellId == 212051) or (spellId == 212036) or (spellId == 212048) or (spellId == 212056)
	and (event  == "SPELL_CAST_START")
	and (UnitInRaid(sourceName) or UnitInParty(sourceName)))
	then
		local num, group = GetNumGroupMembers(), "raid"
			if (not IsInRaid()) then
				group = "party"
			end
		DEFAULT_CHAT_FRAME:AddMessage("Mass Rez Detected ["..sourceName.."]")
		SendChatMessage(">> Mass Rez cast by ["..sourceName.."]", IsInRaid(LE_PARTY_CATEGORY_INSTANCE) and "INSTANCE_CHAT" or group)
		
	end
end)


SayMassRez:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
but this is not perfect, will send chat again if u interrupt spell.....
Last edited by EKE : 07-25-16 at 09:34 PM.
Report comment to moderator  
Reply With Quote
Unread 05-02-12, 08:57 PM  
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2988
File comments: 334
Uploads: 10
Very handy little addon.. thanks for sharing it!!!!


Edit: Can you please remove "SayMassRez Loaded" login spam? It's not necessary to see this every time I log in.
__________________
♪~ ( ) I My Sonos!
AddOn Authors: If your addon spams the chat box with "Addon v8.3.4.5.3 now loaded!", please add an option to disable it!
Last edited by Petrah : 05-04-12 at 01:38 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: