When we first see Ralph, he is working as a slavedriver, forcing a team of human slaves (including the illusion's protagonist) to dig a trench of some kind. The protagonist attacks him, grabs his keys and escapes.
Ralph subsequently appears in the second illusion, after the protagonist has become a lich. He attempts to attack the protagonist with a stolen Drow scimitar, but is easily overpowered and killed. He is then reanimated as a skeleton.