This isn't for class. It's for programming, but it's math. It's kind of a function, but I think it belongs here - my brain is too fried to conceptualize the equation properly. If you can, please write out an equation for me, so I'm not just getting an answer, but learning.
For each point of Agility, my "critical damage" goes up by 2% from any damage number. My AGI starts at 100, for 200% damage.
I need to find a formula for modifying critical *chance* such that for each point of Dex beyond 100 (starts at 100), my chance goes up by x%, such that if it is paired with an equal investment in Agility, my total average damage will go up by 2% per matched point relative to the starting point of 100/100.
E.G., if I have an Agility of 105, my "critical damage" modifier is 2.1x (+110%). If I'm at +5 Dex as well, my overall damage average should be 1.1x (+10%) relative to 100/100. What is the factor by which Dex multiplies my odds of getting that critical hit? At 150/150, I want to be doing twice as much damage as I am at 100/100, holding the +2% damage on critical hits for each 1 point of AGI.
Please assist me if you can unravel my own mess. Thank you