View Single Post
03-18-14, 01:54 PM   #4
Clamsoda
A Frostmaul Preserver
Join Date: Nov 2011
Posts: 269
I am not entirely clear on the conditions that must be met for COMBAT_LOG_EVENT to fire; perhaps it depends on what filters you have set on your combat log?

In my experience, COMBAT_LOG_EVENT_UNFILTERED is typically the way to go, you're guaranteed to catch anything that triggers CLEU.

Just want to stress how many times CLEU fires a second in some environments, and to take care of how many function calls you make when it fires. If you -MUST- make a function call, make sure to narrow down your CLEU function with if-then blocks. Caching data like UnitName(or UnitGUID) helps as well.

Note: UnitGUID isn't available until PLAYER_LOGIN.
  Reply With Quote