Using spell A randomly uses skill B or C

I want to create a spell that does something random (for example, sometimes it hits the target, but sometimes it hits an ally), but I can't seem to be able to figure out how to do it. I managed to make a skill that puts random status on enemy by putting a common even in the skill. The problem is, there is a "change enemy state" command, but no "use skill...", so I can't put it in skill's effect.


EDIT:
ok, I think I solved it by using Force Action

Original thread: https://forums.rpgmakerweb.com/threads/using-spell-a-randomly-uses-skill-b-or-c.107661/