In The Legend of X, you are X, a man with magical powers, that was trapped by Wellus in a world of illusions. Each part of this world is created by a Master of Illusion, and your objective is to find the Stones of Power, defeat the Masters of Illusions and get rid of the imprisonment.