Thread: UnitAura
View Single Post
04-27-09, 09:25 AM   #2
Satrina
A Cyclonian
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"])
  Reply With Quote