PTR: Event API Bugs

There are a few bugs that cause spells and auras to be misattributed:

  • Priest: Homunculi sometimes have CLEU source flags indicating they are a typical NPC (2600) instead of a more typical value of 8472 for a same-faction, outsider Homunculus. Homunculi also sometimes have an extra one bit tacked on the front to create 74008 (0x12118 from 8472 = 0x2118), not sure if that is related.
    Priest: Shadowfiends, being temporary, should be flagged as a guardian like Homunculi (8472 /0x2118), but are instead flagged in the CLEU entries as a pet (4376/0x1118). Oddly, their GUID correctly reflects they are not a pet.
  • Shaman: The same for Shadowfiend applies for Spirit Wolves, they are not a pet according to their GUID but are flagged in their CLEU entries as 4424 (0x1148), indicating they are pet, not a guardian (the difference in the 7th bit indicates they are hostile).
  • Warrior: The aura applied by Meathook is attributed to the victim 100% of the time, and is also listed as a buff. This applies both to CLEU AURA_APPLIED and UNIT_AURA events. I did try to /cancelaura out of it and it didn’t work, so that’s good at least, but this attribution is unique and therefore most likely incorrect.
  • Warrior: Deep Wound (412613) is rarely attributed to the victim, though it’s still unclear to me when/why. This appears in a CLEU SPELL_DAMAGE event as a result of the Deep Wounds (412609) aura being applied to a target. It seems like the issue occurs usually in pairs of twos, one second apart, and I’ve only seen it apply to the Dummies (not the Boss Dummies) outside of Stormwind so far, implying it may be due to a cleave effect. This has the potential to slightly skew combat logs.
  • Warlock: When you have 4 points in Master Demonologist and using a Felguard, there are a couple of bugs. The “imp buff” (aura ID 23828) UNIT_AURA info has its isFromPlayerOrPlayerPet flag set to false in some cases, possibly only for players who aren’t the warlock. Also possibly related, the Felguard will not apply the “felhunter buff” (resistance) at all.

Other event-related bugs:

  • The CLEU SPELL_ABSORBED event does not have a critical hit flag (last returned value) if the attack that was absorbed was a non-spell attack, AKA a standard auto attack. The flag seems to be there for absorbed spell attacks.