In my case, I prefer to use a basic formula that I can adapt to my needs and the context of the game. The ones I prefer are:
- Physical formula: variable * skill power * a.atk/b.def
- Magical formula: variable * skill power * a.mat/b.mdf
The variable factor can then be linked, for example:
- to the user's level (a.level)
- to his physical state (a.hp/a.mhp), where the weaker he is, the less hard he hits
- to another stat of the user, or of the enemy
- to the game difficulty (easy x2, normal x1, difficult x0.5)
- ...
The only limitations/difficulties I encounter (for now) with this type of formula are the following.
1. The choice of the atk/def or mat/mdf stats values
These stats must be >10 by default, otherwise there is too much risk of unbalancing the fight with the increase of the character's level. For example:
- Player level 1 with atk = 1 and enemy with def = 1: the enemy will receive 1x the skill power
- Player level 2 with atk = 2 and enemy with def = 1: the enemy will receive 2x the skill power
- Player level 3 with atk = 3 and enemy with def = 1: the enemy will receive 3x the skill power
Compare to this:
- Player level 1 with atk = 10 and enemy with def = 15: the enemy will receive 0.66x the skill power
- Player level 2 with atk = 20 and enemy with def = 15: the enemy will receive 1.33x the skill power
- Player level 3 with atk = 30 and enemy with def = 15: the enemy will receive 2x the skill power
2. What about stats for weapons/armors
If atk/def or mat/mdf stats increase with character level, these same stats for weapons and armors should be limited to a few units to limit their impact in the formula.
Imagine a character with atk = 10 using a weapon with atk = 100 against an enemy with def = 15... this would completely destroy the balance of the fight.
For this reason, I usually prefer to give equipment buffs/debuffs or specific new skills, or even possibly increase some additional stats (luck, agility, hit/crit rate), rather than changing the basic stats used in the formula.
3. Balancing the max HP
In this case, if the atk/def or mat/mdf stats are well chosen, it only remains to adapt the Max HP to the power of the available skills and to the average level of the character in the current area of the map... which can sometimes not be obvious.