Minor changes

Added check for dead selected mobs
Added setHome command
Added dist3D function
Modified some damage values on the armor