added temporary invulnerability when hurt