Added applying of defense actions