added temporary invulnerability state when hit