Attack range is now working

might be a bit slow, if needed tweak later
Attacking now only works if your in range