Original Post
I'm out of ideas at the moment. I'm working on the battle engine for my simple RPG, and I'm not sure how to calculate damage. The variables involved are attack, strength, defense, and position (I did say simple) Attack is the attack value of your equipped weapon, defense is the armor value of your armor. Position can have 3 values, forward, back and center (0, 1, 2) where forward means you're closer to the enemy, back means you're at the back of the map, and center is the default position. Forward: weapons do 50% more damage, you take 50% more damage Back: weapons do 50% less damage, you take 50% less damage Center: Everything does 100% damage, you take 100% damage My first damage formula idea was Damage = (strength + attack) - (enemy strength + (enemy armor / 2) ) Any suggestions?