For the law, intent usually matters. If you help someone who has the intention to die, then that's assisted suicide. But people can accept any level of danger they please, as long as they intent to survive the ordeal. The actions might be the same, but the intent is different.