It really depends a lot on what you're actually trying to do.
In my add-on, for example, I have a list of unit names that correspond to boss encounters, and as soon as one of them appears in the log I know this encounter is in progress. For example, Sul the Sand Crawler is from the (Elder Council, was it?) encounter, and Lu'lin is from the Twin Consorts encounter. This way I don't depend on any frames or events that may or may not work on specific encounters, but on the other hand I have to do extra work for specific bosses.
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.
Remember, every time you post a comment on an add-on, a kitten gets its wings!
|