How to create a state that lowers an enemy's defense

Sorry for being so unknowledgeable, I searched the forum and google searched for this but every topic was more....extravagant & complicated than I needed it to be.

I simply want a state I created to lower an enemy's physical & magical defense is reduced to 10% of what it originally was and once the state is removed the stats returns to normal

I.e opponent has 30 def , once they receive state their defense is 3.


Also if theres a link to how battle formulas work I'd love to educate myself too! Thanks in advance!
Use the features tab in the state. Parameter -> Defense 10% and Parameter -> Magic Defense 10%.
Use the features tab in the state. Parameter -> Defense 10% and Parameter -> Magic Defense 10%.

I tried that but I tested it and I'm not seeing a difference, for example with the state off my character inflicted 250 - 330 dmg, then I used a skill that inflicted the state on the enemy but Imy character still inflicted 250 - 350, it just hit 300's more frequently
That's a problem with your damage formula, not changing the defense parameter
@Conflictx3 please show us a screenshot of what you're done with the state, and a screenshot of your attack skill.

it might be that you simply did something wrong in a section that you haven't described or a typo or a few other things that can easily be checked with a screenshot.
@Conflictx3 please show us a screenshot of what you're done with the state, and a screenshot of your attack skill.

it might be that you simply did something wrong in a section that you haven't described or a typo or a few other things that can easily be checked with a screenshot.

most likely, i have 0 clue on how formulas and stuff work, i was saving it for last because it bored me to tears but i'm ready to learn now

Spoiler: State
state.png
Spoiler: Skill
Skill.png
1) your state does not reduce the defence by 10%, it reduces it TO 10% - check the mathematical sign, multiply defense by 10% is what it says. You would have to multiply by 90% to get a 10 % reduction.

2) is that skill the skill #1? you cut off the IDs and those are important in this case.

3) the chance to inflict that state is 5% (if there is no influence from Luck), so you would have to attack twenty times or more to get it inflicted. Have you attacked that often?
1) your state does not reduce the defence by 10%, it reduces it TO 10% - check the mathematical sign, multiply defense by 10% is what it says. You would have to multiply by 90% to get a 10 % reduction.

That was the intention. To reduce the defense TO 10%, not by

2) is that skill the skill #1? you cut off the IDs and those are important in this case.

Yes, that's ID #1 my apologies


3) the chance to inflict that state is 5% (if there is no influence from Luck), so you would have to attack twenty times or more to get it inflicted. Have you attacked that often?

for Testing purposes I have another skill that inflicts the state 100% when used, the 5% chance on the skill is more like a placeholder that I'll alter later, inflicting the state hasn't been the problem the enemy 100% receives the state, however theres no difference to the damage the enemy receives although his defense should be 10% of what it originally was.
then show us screenshots of both the actor and the class on one side, and the enemy on the other. If the actor has anything equipped we'll need screenshots of that as well.
we need to calculate through everything and see what other traits are there to reconstruct how much damage should be done under which case.

because there is no random effect on the computer anywhere, and we need to find out what changes the numbers from what you expect.
It sounds like your damage formula is not using DEF or MDEF then. They have to use it for the state to do anything.
then show us screenshots of both the actor and the class on one side, and the enemy on the other. If the actor has anything equipped we'll need screenshots of that as well.
we need to calculate through everything and see what other traits are there to reconstruct how much damage should be done under which case.

Spoiler: Actor
01_Actor.png

Spoiler: Class
01_Class.png

Spoiler: Enemy
01_Enemy.png

Spoiler: Stats
01_Stats.png

everything above has the images requested, stats is the troops tab with the snapshot of the actors stats, and ofcoures u have the previous screenshots of skill 1 & the state.
thanks for the help in advance,

It sounds like your damage formula is not using DEF or MDEF then. They have to use it for the state to do anything.

hmm your probably right, if there is an overall thread that explains damage formula's i'd love the link i tried searching on the site and googling but couldn't find a concise page that actually dealt with that.
with those numbers, the damage shown is what I would regularly expect.
the attack formula is 4*a.atk - 2*b.def
the attack value of the skill user is 80, so base damage is 320 (4 times 80). the def of the enemy is 20 or 2 with the state, which will result in a -40 or -4.
so base damage is 280 without the state or 316 with the state.
and on that there is the variance of 20%, which means +-10% of the base.
that means 252-308 for the damage without the state and 285-347 with the state.
so it looks exactly what you report to be happening, everything follows exactly the numbers you set.

If you tell us what you want to happen, we can tell you how to change the numbers to get that result.
and if we had known that you set your actor to level 99 we would have expected the numbers to be normal from the very beginning...
with those numbers, the damage shown is what I would regularly expect.
the attack formula is 4*a.atk - 2*b.def
the attack value of the skill user is 80, so base damage is 320 (4 times 80). the def of the enemy is 20 or 2 with the state, which will result in a -40 or -4.
so base damage is 280 without the state or 316 with the state.
and on that there is the variance of 20%, which means +-10% of the base.
that means 252-308 for the damage without the state and 285-347 with the state.
so it looks exactly what you report to be happening, everything follows exactly the numbers you set.

If you tell us what you want to happen, we can tell you how to change the numbers to get that result.
and if we had known that you set your actor to level 99 we would have expected the numbers to be normal from the very beginning...

Ahh makes a bit more sense, I actually figured out that everything was running smoothly a little while ago, the monster had a 20 def, 2 with the state as u said so the damage output wasn't that drastic with the state in and off, so much so that I thought it wasnt working but when I made the defense say 80 on the enemy, 8 with state it was more visible.

And as I mentioned earlier I'm new to formulas, I would have told you it was level 99 if you had ask :ewink:

But yes what I would like to happen is when the state is active that my actor does roughly double his normal damage the formula for that would be awesome, thanks for the explanation thus far
is when the state is active that my actor does roughly double his normal damage
that would automatically be the case if the defense were of the same value as the attack, just calculate it.
if attack and defense were both 80, then the regular defence would halve the damage (320-160) and dropping the defense to 10% as it does now would almost double it (320-16 is almost double of 320-160).

your mistake is thinking in one value only when you need to take in several values for the formula. you need to calculate the damage of the formula before deciding on what to do, and take in the values of both actor and enemy (and different enemies at that) to see the effects.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-create-a-state-that-lowers-an-enemys-defense.117848/