Hammersmith
04-05-2005, 01:21 PM
I wanted to write a basic AddOn which tells me loudly when my Druidic Omen of Clarity procs. I think the Unit_Aura event will let me catch that, and I think this would be more CPU friendly than parsing the chat log.
The two addons I found which do this parse the logs. This isn't intuitively the most efficient method; but I haven't tested.
Questions:
- Any comments on proceeding down the Unit_Aura path, rather than log parsing?
- Anyone able to comment on Unit_AuraState being preferable or not?
- Anyone written code for testing Auras I could borrow?
The two addons I found which do this parse the logs. This isn't intuitively the most efficient method; but I haven't tested.
Questions:
- Any comments on proceeding down the Unit_Aura path, rather than log parsing?
- Anyone able to comment on Unit_AuraState being preferable or not?
- Anyone written code for testing Auras I could borrow?