Quantcast
WoWInterface - View Single Post - Help with COMBAT_LOG_EVENT_UNFILTERED (CLASSIC)
View Single Post
03-03-20, 09:18 PM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,924
Also avoid checking for any argument returning a hard true. Many parts of the WoW API still return the old 1/nil flag. Instead, you should check for criticals like this.
Code:
if critical then
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote