7th Commit

Fixed distance bug.
Fixed false killing bug.
Added a range to the ranged attack.