View Single Post
07-22-13, 12:11 AM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
This is not a simple question, and the answer depends on what bosses you're trying to track.

Typically, a fight against a raid boss from newer expansions (I think starting with wrath?) create a unit frame for the boss, and therefor have corresponding events which make it relatively easy to detect when you're in combat with them.

If the boss in question does not spawn a unit frame when engaged it becomes more complicated, as some fights don't even involve any sort of combat between you and the boss itself.

DBM and BigWigs treat each boss independently and have modules that describe how each fight is detected.

Most bosses (or other mobs) can be detected through general combat log events though, so unless the fight you're trying to track is really unusual like Valithria in Icecrown where the objective is to actually heal the boss then it probably won't be too hard to figure out.

Odds are you'll be tracking it through either the boss frame event (INSTANCE_ENCOUNTER_ENGAGE_UNIT), the combat log, or some emote that gets sent to the chat when the fight starts.
  Reply With Quote