How do I invert this so that it's greater nearer to the green, not farther?



Okay, so I was creating a project where you attack something and the damage it takes is greater near the green, but I don't know how to invert the damage because it's greater farther away from the green, not nearer. I know why, but how can I invert the damage?


k/x, k= constant number, x= distance


What's the constant?


a large number, 1000, 10000, 500, etc


It's only going to make the numbers smaller, not invert it. (Also tested it.)


did you do it right?

k/x, not x/k


Yep, I did it wrong, so I now did it right. Thanks for helping!


But the numbers on the different sides aren't distributed evenly now.