Thread: Say addon?
View Single Post
11-06-12, 12:13 PM   #3
Kapone
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 16
Thanks allot semlar! for quick and more information then i needed =)

This is what i had
Code:
		local _, eventType, _, _, srcName = select(1, ...)
		if (eventType == "SPELL_CAST_SUCCESS") and (srcName == UnitName("player")) then
			local spellId = select(12,...);
			if (spellId == 118000) or (spellId == 118000) then --Dragon Roar, Bladestorm
What i needed too change was
Code:
		local _, eventType, _, _, srcName = select(1, ...)
		if (eventType == "SPELL_CAST_SUCCESS") and (srcName == UnitName("player")) then
            SendChatMessage('FUS RO DAH')
			local spellId = select(12,...);
			if (spellId == 118000) or (spellId == 118000) then --Dragon Roar, Bladestorm
Basically nothing but as a noob i learned something tooday atleast ^^
And once again thanks for more info then i needed made me self-learning.
  Reply With Quote