An attack that lowers user's defence.

Hi, I'm sure this is simple enough. I want to know how to make an attack that deals stronger damage to the enemy while lowering the actor's defence temporarily after using it. Any ideas?
Use damage formula commands to add such effects - there is a topic on the forum "how to use the damage formulae", search for it.
Yes, I already read that thread. My problem is that the damage formula atm applies to the attack upon the enemy, and I'm not sure how to make it have a separate effect upon the casting actor in addition to that.
Then you didn't really read that topic, because it explains exactly how to add effects to the user (a) instead of the target (b )


Perhaps you found the wrong topic?
Well, I don't want to add the effect to the user instead, but rather in addition to. The page had helped me to create my formula, whichat the moment my formula is:

a.add_state(27); a.atk * 6 - b.def * 2

The state is a lower defence. But it doesn't seem to be working. :/
then either the state is wrong or some setting in your skill, because that is exactly the command to add a state to a user in addition to any damage to the target.


Please post full screenshots of both the state and the skill
You can close this, I solved the problem. Thank you for your help.

(It was a problem with the state)
Next time, please report your topic to be closed.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/an-attack-that-lowers-users-defence.45377/