• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Help with implementing turned based RPG stats

Sahar Cohen

Member
I have a problem with making a consistent way for the enemy to take a resonable amount of damage with stats like defense please help.
 

Director_X

Member
Use algorithms instead of hard numbers.

a very rough example:
Health = CON * Level
Mana = INT * Level
DEFENSE = Armour_Value + CON + RESISTANCES
Spell_Damage = Spell_Power * Level + INT
Actual Damage = DEFENSE - Spell_Damage

This way, no matter what level your mob or player is, the damage will scale and work with any items/resistances equipped.

However, you WILL need to plan these algorithms to work in the long term.
 
Top