PARTY_KILL only checks within your party, as you noticed. It does not even check if someone in your raid but not in your actual party gets the kill.
What I would do is use UNIT_DIED and from that get the GUID of the killer, then check if that GUID is also in your party (or raid, or both, depending on what you need).
|