Implemented attacks and killing of units