MV Making an Armor have an effect at the start of battle using a script

I'm trying to make a piece of armor that when equipped, forces the wearer to use a certain skill on themselves at the start of a battle. My game will have 30+ characters so I was wondering if there was a way to do this without making a large list of Ifs that runs at the start of every battle or without needing a plug in. (I also am unsure how I would make that work, so any information on any method would be appreciated.)
While i dont know if you can do a skill without writing a bunch of ifs, but perhaps you could not code it as a skill - if its on yourself, then maybe just a part of the armor?
Im not sure of any ways that wouldnt require you needing to writing IFs for 30+ actors, or using script.

using script, you could get it done with Yanfly's buffs and states core plugin alongside their autopassive states plugin and give the armor a passive with a notetag to automatically cast the skill in question as battles begin, or use their base troop event plugin and set up a base event to be used in every battle where you use script to check each actor's equipment and force them to use the skill.
Im not sure of any ways that wouldnt require you needing to writing IFs for 30+ actors, or using script.

using script, you could get it done with Yanfly's buffs and states core plugin alongside their autopassive states plugin and give the armor a passive with a notetag to automatically cast the skill in question as battles begin, or use their base troop event plugin and set up a base event to be used in every battle where you use script to check each actor's equipment and force them to use the skill.
I'll be using that base troop plug in, thank you

I found a way to do what I wanted using a bunch of Ifs (just making the skill's scope be the user and making the force action target be set to random)

Thank you

Original thread: https://forums.rpgmakerweb.com/threads/making-an-armor-have-an-effect-at-the-start-of-battle-using-a-script.179189/