So, I was making the following formula:
I tested it out by having both the accuracy and evasion stats equal. The result was as expected from the equation: 0.5 (50% hit chance)
HOWEVER, when I changed the formula to
What's the problem here?
where "userHitRate" is influenced by a base parameter accuracy stat that increases with level and "targetEvadeRate" which scales off another.
I tested it out by having both the accuracy and evasion stats equal. The result was as expected from the equation: 0.5 (50% hit chance)
HOWEVER, when I changed the formula to
the hit rate is ALWAYS 100% no matter what, which is something that equation SHOULD NOT return.
What's the problem here?