View Single Post
08-06-10, 01:07 PM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,928
I am sure there will be numbers in the vast sequence of spellIDs that do not exist.

You either read through the buff/debuffs that the player/target/focus/pet etc has and get the SpellInfo from that spellID. I can't see any reason why you would need to cycle through 1 to 999999 to see IF there is a spell there. And remember some spells aren't buffs, so again, your best bet when dealing with buffs/debuffs is to work with the buff/debuff functions before dealing with the respective spell functions.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote