Deep in the Egyptian desert, Scrooge McDuck, his grandnephews Huey, Dewey, and Louie, and their adventurous pilot Launchpad McQuack discover the legendary treasure pyramid of Collie Baba. Among the priceless artifacts is a magical bronze oil lamp housing a cheerful, wish-granting genie who quickly becomes a favorite companion to the young ducklings. However, their triumphant discovery is threatened by an evil, power-hungry sorcerer named Merlock, who will stop at nothing to steal the lamp and seize absolute dominion over the world. The Duck family must embark on a high-flying, perilous rescue mission to save their magical friend and protect the ancient relic.