Can someone help me? I'm trying to addapt or make a simplified version of the pokémon damage formula, but I'm terrible at maths so I can't do it properly.
The pokémon damage formula looks like the one in the attachment.
And you can get an explanation of how it works here: https://bulbapedia.bulbagarden.net/wiki/Damage
If it's too much work, I think I only need to take into account variables like ability power, the attack of the user and defense of the target. Nothing more. Is there a way to remove from the formula the other things and get a calculation that works similarly to the one in pokémon?
Thanks for reading!
The pokémon damage formula looks like the one in the attachment.
And you can get an explanation of how it works here: https://bulbapedia.bulbagarden.net/wiki/Damage
If it's too much work, I think I only need to take into account variables like ability power, the attack of the user and defense of the target. Nothing more. Is there a way to remove from the formula the other things and get a calculation that works similarly to the one in pokémon?
Thanks for reading!