Exp for poison kills

What exactly would be needed in order to make player units gain exp from status effect related deaths such as poison or berserk kills.

That sounds pretty complicated because you would have to take into account who applied which status to what unit, then determine if they deserve any exp for it on top of that.

Compared to that problem, granting the exp and leveling up would be the easy part.


Figures. Thanks i just wanted to know if it was possible and where it would have to start.