Complex sentence: Merik asks the player to help recover the Staff of Stars from the Goblins, which prior to its theft had kept the Seck imprisoned in the Vault of Eternity.
Split into simpler sentences: Merik asks the player to help recover the Staff of Stars from the Goblins. Prior to its theft, the Staff had kept the Seck imprisoned in the Vault of Eternity.