Attack that gives states to BOTH the user and the enemy?

So what I wanted to do was have a skill called True Ultima Flare (just an example idk), and once casted (via Blitz Commands), it attacks all the enemies, gives them a Burning state, and makes the user Exhausted. Is there a way I can make this possible? From what I know, I can only do the part where the enemies get burned.
This can be done by code inside the damage formula.


Please check the forums, there is a big topic about what you can do with the damage formula, it explains the code needed for this and a lot of other options.
Hmm.. you can also just use a common event for this 😀
Ah, I don't really know how to use Common Events, can you show me how? =P

And as for damage formulae... I'll check them out, thanks.
How exactly would you want the user to be exhausted? If your using an ATB then you can


just add a user debuff and decrease the agility.(ATB ONLY)

Original thread: https://forums.rpgmakerweb.com/threads/attack-that-gives-states-to-both-the-user-and-the-enemy.54456/