Yanfly's Extra Enemy Drops: Eval - Killed by actor who is affected by a state

I'm trying to use Yanfly's Extra Enemy Drops to make an effect where the following happens:

An actor can get buffed by some state. When the actor has this state, an enemy can be killed and they will drop an item that they normally wouldn't drop. They only drop this item when killed by an actor who currently has this state.

Yanfly's plugin has an Eval code available but in the eval, "user" refers to the enemy so I can't do this:

Eval user.isStateAffected(50): +100%

because this checks if the enemy has the state, not the actor who is killing the enemy.

Anyone have any idea how I can get this to work? Thanks!
Bump
Yanfly did a Tips and Tricks video about turning the Poach support ability from Final Fantasy Tactics into an active skill. If you didn't play FFT, Poach lets a character with the support ability equipped get items for killing monsters.

I'm sure you could configure the tips and tricks information into the state for just that monster (or other monsters if you're having the state effect multiple things).

http://yanfly.moe/2016/08/10/tips-tricks-poach-final-fantasy-tactics-rpg-maker-mv/
I totally played FFT, one of the greatest games ever! 😀
And yes, I have already watched this tutorial from Yanfly. I have a poach ability in my game but I'm handling it differently from this tutorial. I didn't want to have to make some huge <after eval> for all the monsters in my game. I am handling my Poach ability with Yanfly's Extra Enemy Drops instead by doing this:

<Conditional Potion Drop>
Last Strike Poach: +100%
Eval user.isStateAffected(50): +100%
</Conditional Potion Drop>

I want to have 2 ways to poach an enemy:

1) the Poach skill (like attack but deals 50% damage to make it a little difficult).
2) a poach debuff you put on the enemy and then you can kill the enemy with any skill. The drawback for this option is that the debuff costs some mana to put onto the enemy.

I just want to figure out how to do the 2nd way of poaching the enemy.
In case anyone cares to know I figured this out...

<Conditional Potion Drop>
Eval user.isStateAffected(50): +100%
</Conditional Potion Drop>

This will check if the enemy has state 50 when the enemy is killed. If so the enemy will drop an extra Potion. So you can have an actor put a debuff on the enemy that will make them get "Poached" (and it shouldn't matter what killed them) and drop an extra item as long as the debuff was still active on them when they died.



<Conditional Potion Drop>
Eval enemy.killer().isStateAffected(50): +100%
</Conditional Potion Drop>

This will check if the actor has state 50 when he/she kills the enemy. If so the enemy will drop an extra Potion. So you can have an actor put a buff on themselves or another actor that will make the buffed actor "Poach" any enemy they kill while the buff is still active.

I hope this makes someone happy!😛

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-extra-enemy-drops-eval-killed-by-actor-who-is-affected-by-a-state.90195/