Reply
 
Thread Tools Display Modes
Unread 12-07-12, 06:45 PM   #1
Starix
A Murloc Raider
Join Date: Dec 2012
Posts: 9
Spell Type

Hi. Help I want to create addons which will distinguish types of spells (spell/aura)
How to receive type of a spell of spell or aura?

Thanks.
Starix is offline   Reply With Quote
Unread 12-07-12, 10:16 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,629
Could you be a little bit more specific in what you need or wish to do?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

Seerah is offline   Reply With Quote
Unread 12-08-12, 12:44 AM   #3
Starix
A Murloc Raider
Join Date: Dec 2012
Posts: 9
Originally Posted by Seerah View Post
Could you be a little bit more specific in what you need or wish to do?
Would I like to make that at guidance of the cursor on spells showed spell type to be exact there is at this spell an effect of aura.

For example: If spells are hung up by any effect on Toltip of a spell writes "Aura - Yes"
If the spell is used simply that "Aura - No"

Still example:
http://www.wowhead.com/spell=55233 as it is Aura there has to be an inscription "Aura - Yes"
http://www.wowhead.com/spell=55050 this spell doesn't give aura "Aura - No"

If to be more exact I need to obtain data: whether gives a spell of aura or not.

sorry my English.
Starix is offline   Reply With Quote
Unread 12-08-12, 01:49 AM   #4
d87
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 99
That's impossible, i.e. can't be acquired from game client

Last edited by d87 : 12-08-12 at 01:52 AM.
d87 is offline   Reply With Quote
Unread 12-08-12, 02:02 AM   #5
semlar
A Molten Giant
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 601
Not technically impossible, you could record aura events in the combat log and unitaura using the base spell to build a database to reference after you've encountered it once.
semlar is online now   Reply With Quote
Unread 12-07-12, 10:24 PM   #6
Tim
A Warpwood Thunder Caller
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 91
You will want to direct your attention at the following event: COMBAT_LOG_EVENT_UNFILTERED
The rest of the information you need to be looking at can be found here -> http://www.wowpedia.org/API_COMBAT_LOG_EVENT.
__________________
++ Cirax's Repository
++ Author of oUF_DHUD and cTools
Tim is offline   Reply With Quote
Unread 12-07-12, 10:35 PM   #7
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,409
If you want to do something with auras (buffs and debuffs) you will probably want to use the UNIT_AURA event.

But, yeah, you need to be a lot more specific about what you want to do if you want a specific answer...
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Lua/XML Help » Spell Type

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off