def _imm_baptise(player):
    player.can_die = False
    player.immortal = True
    imm_channel.add_sub(player)
    for cmd in imm_actions:
        if player.imm_level >= perm_level(cmd.imm_level):
            player.enhance_soul(cmd)
        else:
            player.diminish_soul(cmd)
dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/mud/mudcore.py/_imm_baptise/original