View Single Post
03-27-09, 04:59 AM   #10
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Slight problem:

Code:
	if( not buff_name ) then
		break;
	end
This will cause the loop to exit whenever a buff name is not found, so if for example the first buff doesn't exist it will never check for the others.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote