Yes, it should be:
Code:
my.alpha = minv (100, (20000 / ((vec_dist(player.x, my.x) + 1)))); // play with 20000