MV RPG Maker MV - Yanfly Action Sequence: Identify if target is dead.

Hey guys!

I'm trying to figure out how I can use the Action Sequence plug in to identify if an enemy is dead after damage has been applied? The intention is for the user to receive an ATK buff if they are for 5 turns.

I've been searching around for awhile to see if I can track down an answer, but for the most part none of them have seemed to work with the plug in - and I'm not sure how to identify which enemy was attacked in order to check if it was that enemy specifically.


Any help?
I have moved this thread from RPG Maker MV Support to JavaScript/Plugin Support.
Welcome!

I'm trying to figure out how I can use the Action Sequence plug in to identify if an enemy is dead after damage has been applied?
Yup!

I'm not sure how to identify which enemy was attacked
That sounds rather bizarre - how have you done any of the other action sequence commands? The enemy you're using the skill on is target

So you would do
Code:
if target.hp<=0

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-yanfly-action-sequence-identify-if-target-is-dead.164367/