Battle Mechanics

Hi, this is about a commercial project.

I'm experimenting with some battle mechanics. Is there is simple way to do the following:

IF

Actor 1 uses Skill A

AND

Actor 2 uses Skill B

AND

Actor 3 uses Skill C

THEN

Actor 1 OR Actor 2 OR Actor 3 can use Skill D

IF Skill D is used

THEN

Actor 1 AND Actor 2 AND Actor 3 TP = 0

AND

The system is reset

I don't know if this needs a script or not, so I'm posting here.

I'm hoping this can be done with the simple use of variables.

Thanks.

EDIT:

Solved. Don't reply. I've already requested to have this deleted.

Thanks.
We prefer it if you would post how you solved it, in case anyone else has this problem.

However, in the absence of that,

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/battle-mechanics.44640/