added invulnerability on taking damage