[RPG Maker MV] Damage Formula for 3-digit HP battle system

The default RPG Maker MV uses a 4-digit HP battle system where your characters go up to 9999 HP and 999 stats. As such the default formula for damage formula for attacks, skills, and healing spells have been designed to accommodate Final Fantasy-like games. However, I would like to make a game like Dragon Quest or Breath of Fire where you only have 3-digit HP and most stats cap at 255, similar to these pictures:

DQ51.jpg
Lufia1.jpg


The stat growths will be typical for a 3-digit JRPG title. The level 1 characters should have around 60 HP, 30 MP, and 8-13 base stats as they deal with enemies that do one or two digits damages. Meanwhile, the endgame characters at LV 50 should have around 580 HP and 158-300 MP. The level 99's cap will be at 255-300 while wearing the best armors and weapons. Attacking magic spells use the 4-stage format ('Fire'; 'Fire 2'; Fire 3'; Fire 4') while healing magic use the 3-stage format. ('Heal'; 'Heal 2'; 'Heal 3')

The default attack powers provided by default skill are as follows:
Code:
Attack: a.atk * 4 - b.def * 2
Heal: 200 + a.mat
Fire: 100 + a.mat * 2 - b.mdf * 2
Spark: 100 + a.mat * 2 - b.mdf * 2

Currently, I use Yanfly's Core Engine v1.31 and Battle Core v1.50 for basic gameplay mechanics. The main questions I have are: How should I tweak the damage formula to fit the type of game I want to make, how to design enemies' stats and skills to balance the gameplay, and whether or not I need an extra RGSS script to make game designing more efficient. If you can help me with your advice, it would be highly appreciated.

Thank you in advance.
yanfly engine core (if you have it or use it) you can put a new HP and attack range so its easy to make 3 digit HP
that has nothing to do with the damage formula - that formula is just mathematics.

what you need to change is the values of the classes (easily done in database, just rescale them to lower max numbers) and the display itself (which should adjust automatically to lower numbers, if not then you'll need a plugin to modify the status screens)
Obviously you want to lower the base amounts to match your new stats; for example, Fire would be something like 20 + a.mat * 2 - b.mdf * 2 rather than 100 + a.mat * 2 - b.mdf * 2. The other stats used in the formula (e.g. mat and mdf), as long as they scale in similar ways to each other, can work without modification with overall lower stats.

However, I noticed a bit of an idiosyncracy about your proposed stats:
The level 1 characters should have around 60 HP, 30 MP, and 8-13 base stats as they deal with enemies that do one or two digits damages. Meanwhile, the endgame characters at LV 50 should have around 580 HP and 158-300 MP. The level 99's cap will be at 255-300 while wearing the best armors and weapons. Attacking magic spells use the 4-stage format ('Fire'; 'Fire 2'; Fire 3'; Fire 4') while healing magic use the 3-stage format. ('Heal'; 'Heal 2'; 'Heal 3')

At Level 1, your characters' HP values are around 6x the "damage formula stats" (like ATK, MAT, MDF, etc.), whereas at Level 50 their HP values are only about 2x the damage formula stats. This can work if the skills in your game tend to have higher "base damage amounts" compared to HP at Level 1 than at Level 50, but usually this isn't the case in a game with Fire 1, Fire 2, etc. Looking at the simple Attack formula, this would mean that characters would take 3-4 hits to take each other down at Level 1, but only 2 hits at Level 50. It feels a little bit off, unless you're scaling enemy stats in the opposite fashion.

I would recommend either starting the characters' base stats at higher levels, or scaling the character's HP more steeply so they finish the game with around 1000HP apiece. Alternatively, you could look at a totally different damage formula, such as one like (150 * a.mat) / (50 + b.mdf) which will allow a gentler effect of stats on skill damage while avoiding the "slowdown" effect I mentioned above over the course of the game.
Andar is pretty much right that the choice of damage formula is independent of whether you use large or small numbers; the one caveat I'd add is that the combination of small numbers and the default formula is particularly susceptible to the zero-damage problem (if you return later to early-game areas, the enemies there cannot damage you).

For example, if you have an early-game enemy that deals 10 damage, then gaining a mere 5 DEF is enough to zero that.

In my game, which also uses small numbers, I use the damage formula (2 * a.atk * a.atk) / (a.atk + b.def). Some examples of this, with actual numbers from my game:

Lv 1 Erika attacks Dungeon Roach: (2 * 14 * 14) / (14 + 2) = 392 / 16 = 24. Roach has 40 HP, so Erika will kill it in two hits.
Roach attacks Erika: (2 * 10 * 10) / (10 + 10) = 200 / 20 = 10. Erika has 32 HP, so she could survive three hits.

Suppose Erika returns to the first dungeon later with 30 DEF: roach does 200 / 40 = 5 damage. It can't do zero damage until her DEF hits 201, which it just won't ever.

A guideline for working with this formula is that damage is approximately 2 * ATK. I estimate the highest reachable level will be around 33. At that level, Erika has 76 ATK + whatever is available from her weapon, so let's say 76 + 32 = 108, so she will do 200 damage. I haven't built beyond the first dungeon yet, but when I get to the endgame, it's easy enough to set enemies' HP to match the number of rounds I want them to go down in.
Well, I think you kinda need to understand the formula first so you can go figure out the numbers for each things yourself. It's easy if you know how to use Excel's spreadsheet.

Attack: a.atk * 4 - b.def * 2
This one depends on how you set up the stats of your characters and the enemies. The point is, if the target of "attack" has def of 2 times the amount of attacker's atk or more, then it will result in zero damage (Ex: Attacker has 10 atk, but target has 20 def).

Heal: 200 + a.mat
Fire: 100 + a.mat * 2 - b.mdf * 2
Spark: 100 + a.mat * 2 - b.mdf * 2

This one depends a lot on the number of 200 and 100 you see. It simply means that a Heal will not restore any less than 200 HP, while a Fire and Spark's damage will do around 100 HP damage if user's mat and target's mdf is about the same. The easy way to get what you want is to adjust the number 200 and 100 in those formulae to a lower number like 20 or 50 or whatever you desire. Just playtest it.

One way that you don't have to deal with much math is by Playtest it out. If the numbers feel right then you're ok, but if the numbers don't feel right then try tweak numbers in stat to your liking.
'Game Mechanics Design' is for looking at aspects of game play at a more conceptual level. "How do I...?" (implementation) questions belong in the Support forum for the engine you are using.

Moved to: RPGMaker MV

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-damage-formula-for-3-digit-hp-battle-system.111770/