Quick help on making a cool class!!

Sooooo I was hoping that maybe someone here might be able to help me out with a few things or at least point me in the right direction. What I'm trying to do is have a character that has illusions, you can have up to 4 and each illusion cost MMP as upkeep but they also do random attacks to random enemy targets each turn. I really hope all that makes sense to anyone or everyone. :}
Uff, i think you'll need to create a common event or need a plugin for that. I don't know how to do that, but i hope someone helps you. Good luck!
I had it working with a script in ace but I can't seem to find a way to do it without the script or a plugin just yet.

Original thread: https://forums.rpgmakerweb.com/threads/quick-help-on-making-a-cool-class.52823/