MZ Team attacks

So I've been making a game like the mario and luigi series and I've been wondering if there is a way to make team attacks like the bro attacks in their games. For example : When you use a team attack all your teammates need to be alive and it costs some MP. Is it possible? Any response will be helpful thanks.
I am pretty sure you cannot do this without a plugin, so Moderator note: Moving to Plugin Requests
I don't know the game you are referencing. But if you are looking for an actor skill not to be usable unless the entire team is alive. I might have a plugin for you.

Original thread: https://forums.rpgmakerweb.com/threads/team-attacks.132866/