SakuraKenji
Breeder
- 39
- Posts
- 16
- Years
- At the daycare of course!
- Seen Dec 26, 2009
Im having trouble with some algorithms...
Lets say my stats are:
HP
Attack
Defense
Accuarcy
Evasion
In addition to this each move has its own attack and accuracy stat.
The move's accuracy stat is a percentage which adjusts the user's accuracy.
To deal damage the user's attack and move's attack are weighed against the target's defense.
To hit a target, the user's accuracy and move's accuracy are weighed against the target's evasion.
There are other stats, but these are the ones Im having trouble with.
There are no other factors to be added, other than the ones I have listed here. I have the accuracy handled, it's the damage I'm having an issue with.
I just need some ideas or hints that I can use to help make my own algorithms. (I hate pirating other peoples work)
And thanks for all the help I might recieve!
Edit: Oh ya don't put any script up here. I can figure out the script when I have the formula.
Lets say my stats are:
HP
Attack
Defense
Accuarcy
Evasion
In addition to this each move has its own attack and accuracy stat.
The move's accuracy stat is a percentage which adjusts the user's accuracy.
To deal damage the user's attack and move's attack are weighed against the target's defense.
To hit a target, the user's accuracy and move's accuracy are weighed against the target's evasion.
There are other stats, but these are the ones Im having trouble with.
There are no other factors to be added, other than the ones I have listed here. I have the accuracy handled, it's the damage I'm having an issue with.
I just need some ideas or hints that I can use to help make my own algorithms. (I hate pirating other peoples work)
And thanks for all the help I might recieve!
Edit: Oh ya don't put any script up here. I can figure out the script when I have the formula.
Last edited: