Stat changing State

I have a problem that stumped me for a while now.

How do I make a state that, say, decreases defence?
Or possibly, one that increases attack for a limited time?

I had a go at making it before, changing debuff rate and changing the rate of parameter.
I had somewhat successful attempt at attack up state, but decreasing defence, I couldn't work out.

Is there something I am missing? Or is it that you need a plugin for it?
All done by default
States tab

First Click Change maximum on the left side, and type in a higher number e.g. 100. Now you have empty slots where you can create new states.

Traits (top right)
Select new line
Select Param (second tab)
Select Parameter

Select e.g. ATK.
If you want a buff of 10%, type 110 in the box underneath it; if you want 20%, type 120 in the box and so on.
If you want a debuff, then type a number lower than 100.
The same with all the other stats.
Click OK

Removal Conditions in the central section.
If you want it to last e.g. 3 turns, select the box to the right of Auto-removal Timing
Select Turn End
A new box appears - the left one is the minimum number of turns you want the state to last, the right is the maximum. So, if you want exactly 3 turns, you put 3 in both boxes. But you could have e.g. 3 - 4, so that it is a bit random.
You could have it removed by damage e.g. Sleep is often removed if the actor is hit.
Or it could last X number of steps if it is an on-map state.

Put in any message you want.

Click OK and you're done.
Thanks! This worked perfectly!

Original thread: https://forums.rpgmakerweb.com/threads/stat-changing-state.96561/