Wraith, the Prince succeeds in getting his other self taken by the Dahaka instead, taking his place in the timeline and freeing him of the Mask. The Prince continues to the throne room and, despite his pleas to Kaileena that they can change fate, she attacks him as before. The ending changes depending on whether the Prince acquired a special weapon called the Water Sword. Without the Water Sword, the Prince kills Kaileena in the present as planned and the Dahaka absorbs her and all remnants of the Sands' power before vanishing. With the Water Sword, the Prince defends Kaileena from the Dahaka's attack and uses the Water Sword to kill it; the two build a boat and leave the island, sleeping together during the voyage. In both endings, Babylon is shown in flames and under attack from an invading army, with Farah (from Sands of Time) being held prisoner. Development Pre-production on Warrior Within began within Ubisoft Montreal during the final stages of production on The Sands of Time in 2003. Due to commitments writing the script for a Sands of Time movie adaptation, series creator Jordan Mechner was not involved in the production of Warrior Within. During early brainstorming sessions, the team decided to create a darker follow-up to The Sands of Time building on the existing gameplay. Production lasted roughly one year, with sixty new staff being brought on board to help production and using feedback from The Sands of Time for their work. Lead producer Bertrand Hélias described the production as having multiple highs and lows. The game used Jade, the same engine as The Sands of Time. The team were told by a Sony representative that they had hit the technical limits of the PlayStation 2, but the team found ways of adjusting the engine and getting more performance and larger environments. They also aimed for a similar push in graphical quality for the Xbox platform. The game was set to run at 30 frames per second, allowing more computing power to make other areas of the world work. Senior producer Yannis Mallat found The Sands of Time short, so the sequel would be three times longer, while being more fleshed out regarding level design and combat. For considering the powers of the Sands of Time were not so essential to the gameplay of the first game and thus were hardly used by players, the