I have a gun that I want to add range effectiveness to. Basically, the longer the distance to the target(measured in studs) the lower the damage. I am not the best at math, so I need someone to help me out here.
The variables I am working with is Range
and Raw Damage
. Feel free to suggest/add other variables to make this a bit easier and understandable. I can provide you more information if you need. Thanks.