Hey, the damage formula I want to use is:
Char's attack multiplied by 4, then added to the char's level to give the total. Then, take the defending char's defence multiplied by 2 away from the total to give the amount of damage dealt.
So that's:
((a.atk * 4) + a.lvl) - (b.def * 2)
I think.
I mean, imagine my character has an attack of 11 and a level of 1. I am attacking an enemy with a defence of 20.
So that should be 11 x 4... 44. Add 1, 45. 20x2 is 40.
45-40 = 5.
Yet when I hit the enemy using that formula, I hit 0. So obviously I've written it out wrongly or I'm overlooking something.
Char's attack multiplied by 4, then added to the char's level to give the total. Then, take the defending char's defence multiplied by 2 away from the total to give the amount of damage dealt.
So that's:
((a.atk * 4) + a.lvl) - (b.def * 2)
I think.
I mean, imagine my character has an attack of 11 and a level of 1. I am attacking an enemy with a defence of 20.
So that should be 11 x 4... 44. Add 1, 45. 20x2 is 40.
45-40 = 5.
Yet when I hit the enemy using that formula, I hit 0. So obviously I've written it out wrongly or I'm overlooking something.