How can I have the game identify which actor killed an enemy?

Basically, what I want to do is have each character have an individual effect after they kill an enemy.

Example: Actor A kills an enemy, therefore actor A gets another turn. Actor B kills an enemy, therefore the party is healed slightly.
I just need to figure out how I can have the game give a different effect to ONE SPECIFIC party member after they kill an enemy.
Does it work if you make a unique passive state for each of your actors with

<Custom Conclude Effect> if (target.hp === 0) { CODE FOR SPECIAL EFFECT } </Custom Conclude Effect>
Just to elaborate on @rpgLord69's reply - that's using the plugins Yanfly's Buffs & States Core and Yanfly's Auto Passive States.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-have-the-game-identify-which-actor-killed-an-enemy.165599/