How to make a proper Berserker skill?

What I want to do is that my Amazon character gets a skill where she gets in an angry states, but what I want to happen during the angry states (like a berserker skill) is that she can do a lot of damage but she can hit anyone randomly, either foe or allies but I can't seem to set the skill right.
This is my rage state which I think is set the way I want. It's more about rage skill. I want to self-inflict the rage state without hitting herself and without giving the rage state to enemies. I'm not sure how to write the formula.
ragestate.jpg
It sounds like your skill functions like confusion would, though probably with enhanced stats.
Create an "enraged" state with almost the same settings as confuse:
Restriction: attack anyone
Trait Parameter: plus whatever attack % you like
Then make a "rage" ability with the settings in your screenshot.

You wouldn't be able to use other skills during this state though.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-proper-berserker-skill.120069/