- Joined
- Oct 29, 2018
- Messages
- 13
- Reaction score
- 12
- First Language
- English
- Primarily Uses
- RMVXA
So I want to include a sort of "berserker" skill in a project. This skill does damage to all enemies, but it also inflicts confusion on the user. Problem is, I'm not quite sure how to go about doing it.
I tried adding it into the damage formula like so:
a.atk + (a.atk * 4 - b.def *2), a.add_state(7)
However when I run the test battle to see if it works, it gives me this error:

I know very little about the damage formula and how the syntax works, so I'm not sure how to go about changing this. Could anyone help me figure it out (and possibly explain it in a way that's easy for a dumb like me to understand)?
I tried adding it into the damage formula like so:
a.atk + (a.atk * 4 - b.def *2), a.add_state(7)
However when I run the test battle to see if it works, it gives me this error:

I know very little about the damage formula and how the syntax works, so I'm not sure how to go about changing this. Could anyone help me figure it out (and possibly explain it in a way that's easy for a dumb like me to understand)?


