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%.
That's a problem with your damage formula, not changing the defense parameter
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?
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.
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...