I'm trying to make this basic attack formula work, but it keeps inflicting an insane amount of damage instead. I have the formula like this in RPG maker: a.atk * (100 / 100 + b.def)
If the user's ATK was 30, and the enemies defense was 20, the enemy would take 25 damage.
30 * (100 / 100 + 20) => 30 * (100 / 120) => 30 * (.83) = 25
Instead, it just inflicted 630 damage. What am I doing wrong when it comes to this formula?
Here's the formula I'm trying to copy vvvvvvv

If the user's ATK was 30, and the enemies defense was 20, the enemy would take 25 damage.
30 * (100 / 100 + 20) => 30 * (100 / 120) => 30 * (.83) = 25
Instead, it just inflicted 630 damage. What am I doing wrong when it comes to this formula?
Here's the formula I'm trying to copy vvvvvvv


