Thread
:
Efficient LUA code?
View Single Post
03-27-09, 04:59 AM
#
10
Torhal
A Pyroguard Emberseer
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
.
Torhal
View Public Profile
Find More Posts by Torhal