(SOLVED) Yanfly Extra Enemy Drops + Elemental Attacks

Is there a way to make a conditional drop check if the killing blow was a certain element? There's a check to see how many times the enemy was struck with an element, but I'm only interested in the killing blow. It seems to have literally every other possible check on killing blows except elemental. I've tried:

enemy.lastStruckAction().elementId === 2

as my conditional check. But that doesn't seem to do anything. Any thoughts?
Try using enemy.lastStruckAction().damage.elementId === 2
Try using enemy.lastStruckAction().damage.elementId === 2

I tried that too but no avail 🙁

Actually, I forgot to add an eval to it! Thanks so much! Here's what I used in case someone stumbles across this:

<Conditional Item 1 Drop>

Eval (enemy.lastStruckAction().damage.elementId === 2): +100%

</Conditional Item 1 Drop>

Replace the number 2 with whatever element you wish.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-yanfly-extra-enemy-drops-elemental-attacks.118115/