Magma doesn't appear as a playable character in X-Men Legends 2 because, in the story's context, after she gained control of her powers she chose to return to her family. That narrative reason is why she sits out the sequel's roster.