Originally Posted by Torhal
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.
|
As soon as there is a buff without a name he can stop it because then there are no more buffs left (I don't think that there is a buff that has no name).