X% Chance on Enemy Death

Hi,

Items that have a skill with X% chance on enemy death are only activated when the player kills the enemy or is also activated when a pet kills the enemy?

Only player damage