The first parameter passed into this event’s handler, is a UnitID. So my question is this: to what does this UnitID refer? Does it refer to the entity that blocked, parried, resisted, dodged etc., the attack? Or does the UnitID refer to the entity whose attack was blocked, parried, resisted, etc.,?
More generally, how shouild I use this event to complement the information provided by CLEU event?
Thanks for reading…
1 Like
The first parameter is the unit, the second is what happened to that unit. three, four and five fill out the information.
https://wow.gamepedia.com/UNIT_COMBAT
Thanks, Fizzle. So, if I’ve understood you correctly, the UnitID references the target of the attack that fired the event, correct? Now, if arg2 of the event were a BLOCK, RESIST, DODGE, or PARRY then the entity referenced by the UnitID should be understood to have blocked, resisted, dodged, or parried the attack that generated the event.
In CLEU terms, then, is the UNIT_COMBAT UnitID equivalent to the destination name, i.e., the 9th parameter?
Thanks, so much. You have been very helpful once again.
Generally speaking there is no need to use this event, it doesn’t complement the CLEU event. It seems to be only used for the combat feedback text on the player and pet unit frames
It’s one of the events that CLEU encapsulates but can used in isolation for a specific unit to read:
I was damaged for...
I was healed for ...
I dodged ...
I Parried ...
The one that probably seems out-of-place is the MISS which can probably be best explained as:
"You Missed me, HaHa you suck!"
1 Like