How to make a skill disable other skills when activated

Hello, I have a character I wana make in rpg maker mv who has a spawning ability, however his spawning ability is limited to 2 items at one time.
I wana set up a thing where if he uses a healing or buffing ability, it will limit some of his other abilities if used once or the rest of the skills he has if he does it twice until the effect of the boost wears off, the character takes the amount of damage they healed by or the battle ends.

How would I go about that?
Probably by having your skill apply different states that seal skills.

1678494819081.png
I see, ill def have to mess around with that, not sure if I can make it based on amount of uses instead of just blocking all skills after one use
Ok ive figured out a way to do it, by making my skill add the state that will make that version unusable and open up a 2nd version, however I want it to hide the original heal spell, how do I make it hide particular skills when activating it instead of just sealing them?
1678516392257.png
Ive been messing around with it more, found a method that seems to work with common events that works almost as I intended it to. Though using alternative skills with the same stats seems to only count it once. I wana make it so instead of just one use your able to use the skill twice and then it disables it either by changing the name of the skill itself or using alternate skills and counting those or even just some other way for the player to keep count how many spawns they have left if they use a healing skill or a buff/ debuff skill
Probably by having your skill apply different states that seal skills.

View attachment 255586
how do I make it hide particular skills when activating it instead of just sealing them?
You can try unlearning the skill via your common event an relearn it with another. Otherwise a plugin is needed.

Though using alternative skills with the same stats seems to only count it once. I wana make it so instead of just one use your able to use the skill twice and then it disables it
You can count things by using variables. Add +1 to a variable whenever the skill is used, put an if condition for when said variable = 2, then seal/hide the skill, show the new skill, reset variable to 0 and vice versa.

other way for the player to keep count how many spawns they have left if they use a healing skill or a buff/ debuff skill
You could potentially to that via states by having some custom icons with a number on them. State 1 shows 2 (as in skills not used yet) using the skill gives you a "1" state, using it again removes it and gives it a "2" state of the other kind of skills you have.
I messed around with it a bit more, it now works as intended, thank you so much for the help
You can try unlearning the skill via your common event an relearn it with another. Otherwise a plugin is needed.


You can count things by using variables. Add +1 to a variable whenever the skill is used, put an if condition for when said variable = 2, then seal/hide the skill, show the new skill, reset variable to 0 and vice versa.


You could potentially to that via states by having some custom icons with a number on them. State 1 shows 2 (as in skills not used yet) using the skill gives you a "1" state, using it again removes it and gives it a "2" state of the other kind of skills you have.
Double-post notice: @fahyda
Moderator note: @AdamTar please do not hijack someone else's thread for your own totally unrelated question. Please start your own thread. I have no idea what "the clicky" means so you should also explain that better. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-skill-disable-other-skills-when-activated.155694/