My damage formula started playing up

Hey guys, 

Just joined the RPGMaker Community. No problems so far and have been hacking away at my first game for a few days now.

I have been able to suss everything out just fine so far, except for one thing.

My regular attacks were working fine up until now. They went from their regular low range damage to a range of 5000-6000 damage.

Here's my formula for the attack command.

a.atk / ( b.def / 100 )

My attackers start off with 50 Atk.

Enemies Def will vary between 50 and 150 (more ease of scaling for my game).

I can only attribute it to being a formula fault, but having no JS experience (I'm an excel pro instead) something is just going over my head here.

Any help would be greatly appreciated.
That formula is the same as 100* (a.atk/b.def)


So with a def that is much lower than the attack values, the damage will increase a lot.


However, it's not only the damage formula that affect damage - wrong settings in the traits/features can also cause strange damage.


And there are too many options to describe everything here.


Please post screenshots of actor, class, enemy and skill if you want better help
a.atk / ( b.def / 100 )
The way your formula is set up currently, any defense value under 100 would increase the ATK, and if for some reason something had a really low DEF (a debuff, for example) it could cause really high increases. For example, a character with 50 ATK against an enemy with 1 DEF would cause 5000 damage.

You'd probably do better using something like this:

a.atk / (1 + b.def/100)This way, the total damage will never be higher than a.atk (it will always divide at least by 1) - and DEF will always reduce it proportionally.

Multiply the final result by something, if you would rather have higher damage numbers overall.
Okay, so without even changing anything, my damage came back to its usual 50-70 range. 

I apologize about taking up time and space on here.

Edit- see new post below
Sorry guys, she's back to playing up and flipping me the higher values again. My stats are high enough to not cause issues. 

Actor.jpg

Class.jpg

Attack Command.jpg
Sorry guys, she's back to playing up and flipping me the higher values again. My stats are high enough to not cause issues. 
How much is that ATK, and how much is the Defense of your target? Any debuff, elemental weaknesses?
How much is that ATK, and how much is the Defense of your target? Any debuff, elemental weaknesses?
60 a.atk. 100 b.def.

No Debuff's or Elements in play.

Just keeping it as simple as possible while I try to find the cause of my issue.

Original thread: https://forums.rpgmakerweb.com/threads/my-damage-formula-started-playing-up.51198/