MV Players may only have one Aura.

Hello,

Here is my problem:

I create an aura A and an aura B.

I would like that when aura B is launched after aura A, aura A disappears.

I base myself on this technique:
Tooltip: Gives 735 additional armor to party members. Players may only have one Aura .

I did like in this video: http://www.yanfly.moe/wiki/Passive_Aura_Effects_(YEP)

but I'm missing the code so that aura A disappears when aura B is applied and vice versa.

Thanks for your help.

I specify that I have almost all the Yanfly plugins and that I am a beginner in programming.

Sorry for my English.
I did something like this without a plug-in. The easiest way is to set it up so that when you use the new aura it removes all other aura states that exist, in the skill features tab.
Depending on how many Auras you have, you would probably want to go with @bgillisp suggestion.
I am doing something similar with "stances" where you can only have 1 stance active at a time.

Since I only have 8 different stances it is no problem for me but if you have like 50 different auras, thing could get messy.

You basically make the skill or effect that applies your aura remove every aura you have first and then apply the aura you want.
But how could I not think about it.

It's been a few weeks that I've been taking care of the plugins and I forgot the basics.

Thanks for your answer.
Don't feel bad. Today I forgot a step in turning an event off. It happens to all of us.

Do you want this open for a plug-in still, or should we close it?
Haha thank you for your answer.

I got my answer so I think you can close it.

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/players-may-only-have-one-aura.131568/