Need help creatign a skill that debuffs a random stat

I am trying to create a skill that will debuff one random core stat for a few turns. Is this feasible via a plugin of some sort?
Make the skill trigger a common event. Then, in the common event, set a variable to a random number between 1 and 6. Make 6 conditional branches for each possible outcome. Debuff one stat per conditional branch each.
Make the skill trigger a common event. Then, in the common event, set a variable to a random number between 1 and 6. Make 6 conditional branches for each possible outcome. Debuff one stat per conditional branch each.

Where in the menu is the option to change stats? And can I set a turn duration like you can with the default skill creator?

I can see that I can add a State, do I need to create states for each stat that could be debuffed?
Create a skill that applies a neutral state to the target.

Create the various debuff states that you desire to potentially be applied to your target.

Create a common event that runs an RNG mechanic for a designated variable, a variable amount for all possible desired states.

Assign conditional branches to follow the RNG generation, with different states to be applied based on RNG amounts, to the target that has that neutral state.

Finally have the specific state applied & the neutral state removed as the last component of the common event.

Attach the common event to the intended skill.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-creatign-a-skill-that-debuffs-a-random-stat.91531/