added defend-only functionality to units