Remove change of invincibility flag and use event to cancel attack instead.