Help with a custom skill for a boss battle.

So I want this boss to kill one of its allies in order to use a skill.  How do I do this?

Might not be related, but I want a boss to use a revival skill to revive its allies but I want them to use it only when there's a dead ally on their side of the field.
So you want the boss to attack (and kill) one of their allies as a condition for a skill and another that revives their allies?
no I want the boss to kill one of it's allies before it can use a skill that harms enemies/ heal itself.
You could set a point for the boss to attack its allies with a skill that inflicts Death. That can activate a Switch that makes it so the next skill can be used. You could use a Conditional branch on a new page that goes off that Switch and have it use a skill set to affect 'all enemies' ... or is it 'all allies' when the enemies use it on themselves...

I'm pretty sure it's still 'all enemies'.
thanks, but is there a way for the next skill to go directly after the killing allies skill?  Like a 1-2 combo?
You'd have it in the next line after the previous skill and set to Turn.
awesome, thanks

Original thread: https://forums.rpgmakerweb.com/threads/help-with-a-custom-skill-for-a-boss-battle.44647/