Reply
 
Thread Tools Display Modes
Old 04-26-09, 09:58 AM   #1
Satrina
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2005
Posts: 47
UnitAura

Current version:
name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable = UnitAura("unit", index or ["name", "rank"][, "filter"])
Awesome new version:
name, rank, icon, spellID, count, debuffType, duration, expirationTime, unitCaster, isStealable = UnitAura("unit", index or ["name", "rank"][, "filter"])
spellID - exactly what you think it'd be
Satrina is offline   Reply With Quote
Old 04-27-09, 09:25 AM   #2
Satrina
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2005
Posts: 47
Actually, let me expand that a bit. The castable flag for UnitBuff and the removable flag for UnitDebuff are nice and all, but having to iterate separately to get those is pretty inefficient.

This would rock my world:

name, rank, icon, spellID, count, debuffType, duration, expirationTime, unitCaster, isCastable, isStealable, isRemovable = UnitAura("unit", index or ["name", "rank"][, "filter"])
Satrina is offline   Reply With Quote
Old 04-27-09, 09:28 AM   #3
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,176
The spellID alone would save me many hours of re-write so +++ vote from me
Dridzt is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Wish List » UnitAura

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