Actually that brings up a good question.
There are two paths to take.
ChanceToHit -= ((100 - ChanceToHit) * AdvoidChance)
This would be 68 -= ((100 - 68) * 0.5) == 52
Or:
ChancetoHit = ((100 - ChanceToHit) * 1 + AdvoidChance
This would be ChanceToHit = ((100 - 68) * 1.5) == 48.
The second option is probably more accurate.
|