MZ Skill Activation Upon Enemy Death

I've been working on a small RPG project featuring my D&D characters. One of them, a warlock, has a skill called Dark Ones Blessing, which gives them temporary hit points after defeating an enemy. I want to try and replicate this in RPG Maker MZ

I already have the temporary hit points handled. I have a plug in from Visu Stella that allows someone to gain temporary HP, which can be found here: http://www.yanfly.moe/wiki/Anti-Damage_Barriers_VisuStella_MZ

I then thought the Auto Skill Plugin would work wonders for this idea: http://www.yanfly.moe/wiki/Auto_Skill_Triggers_VisuStella_MZ

But, as it turns out, there's no option to activate the skill upon defeating an enemy, which makes things a bit more complicated.

I do not use JS, so I don't know exactly how to code all that well myself. Would someone be willing to give me ideas on how to make this idea work? Maybe I'm missing something in the auto skill plug in that could help, or maybe there's a tiny bit of JS that I don't know of that could help achieve this. Either way, I'd appreciate the help!

Also its been a year or so, so if I posted this in the wrong place I'm really sorry haha.
I do not use JS, so I don't know exactly how to code all that well myself. Would someone be willing to give me ideas on how to make this idea work? Maybe I'm missing something in the auto skill plug in that could help, or maybe there's a tiny bit of JS that I don't know of that could help achieve this. Either way, I'd appreciate the help!
To be honest, I was kinda surprised about the fact that the skill trigger plugin above didn't include such functionality. However, I looked at my own code's implementation of "handling defeated enemies" and such, and guess it kinda made sense then. The logic for "on-defeat" is typically not really anywhere close to the "hit with a skill" logic.

Assuming you're using the VisuStella battle plugin (required for the auto skills trigger plugin), you'd probably want to consult one of the folks there to see if there is some js tag way to do it with their suite of plugins, or get someone to write you a plugin to accomplish this specifically. My google-fu to aid you in your search actually led me to your reddit post that is identical to this lol.
To be honest, I was kinda surprised about the fact that the skill trigger plugin above didn't include such functionality. However, I looked at my own code's implementation of "handling defeated enemies" and such, and guess it kinda made sense then. The logic for "on-defeat" is typically not really anywhere close to the "hit with a skill" logic.

Assuming you're using the VisuStella battle plugin (required for the auto skills trigger plugin), you'd probably want to consult one of the folks there to see if there is some js tag way to do it with their suite of plugins, or get someone to write you a plugin to accomplish this specifically. My google-fu to aid you in your search actually led me to your reddit post that is identical to this lol.
lmao ye I like to cover as much ground as I can lmao.

Thanks for the tip tho!

I think the best solution outside of help from the Visu Stella team would be to make another plug-in which would achieve the goal I want

problem being I'm still learning JS so oof

Original thread: https://forums.rpgmakerweb.com/threads/skill-activation-upon-enemy-death.147112/