I want to use relatively small numbers in my game, with low level characters having under 50 health and dealing/receiving small amounts of damage. However, no matter how I tinker with attack values and damage calculations, attacks either deal zero damage, or enough to one-shot characters.
It seems as though damage calculations are pretty straightforward. My character has a base ATK of 7. Her weapon adds +3 to her attack for a total of 10. In my test battle, the enemy units have a defense of 4. I have damage from basic attacks set to calculate very simply with a.atk - b.def. Factoring in variance, it seems like attacks should be dealing 5-7 damage, but they do nothing. Can anyone help point out where I'm going wrong?
Also, enemy attacks are calculating correctly. For my testing I set their attack value to 5, just one higher than my character's defense of 4, and they deal a single point of damage with each attack.
It seems as though damage calculations are pretty straightforward. My character has a base ATK of 7. Her weapon adds +3 to her attack for a total of 10. In my test battle, the enemy units have a defense of 4. I have damage from basic attacks set to calculate very simply with a.atk - b.def. Factoring in variance, it seems like attacks should be dealing 5-7 damage, but they do nothing. Can anyone help point out where I'm going wrong?
Also, enemy attacks are calculating correctly. For my testing I set their attack value to 5, just one higher than my character's defense of 4, and they deal a single point of damage with each attack.