This article is part of a directory: Hogwarts Legacy: Complete Guide & Walkthrough
Table of contents

Hogwarts Legacy tells the story of a young student who possesses phenomenal power. Upon their arrival at Hogwarts School of Witchcraft and Wizardry, they will be required to attend classes and complete schoolwork, but the main premise of the game tasks them with defeating Ranrok, a bafflingly powerful goblin who plans to wage war on wizardkind.

RELATED: Hogwarts Legacy: What To Do After Completing The Main Story

Progressing through the main story of Hogwarts Legacy will eventually lead players to confront Ranrok during The Final Repository, the game's fortieth main quest. Before they face Ranrok, however, they must first defeat the trolls and goblins blocking the path. After defeating these foes, the real battle against Ranrok will begin.

What To Bring For The Battle Against Ranrok

The Final Repository Main Quest in Hogwarts Legacy

Upon descending into the caves below Hogwarts during The Final Repository, the player will not have access to the world outside. This means that whatever they bring with them to the battle will be all they have to rely on until Ranrok is defeated, so they should ensure they have made the best preparations possible.

Potions & Gear

Brewing Wiggenweld Potions in Hogwarts Legacy

The Final Repository is a pretty long quest, riddled with strong enemies, so the player should ensure they have as many Wiggenweld Potions as the protagonist can carry.

RELATED: Hogwarts Legacy: How To Use Potions

On top of this, they should also make sure to equip only the strongest gear they have obtained during their travels. If the player feels that the gear they have is lacking in power, they should place a Loom in their Room of Requirement and use it to enhance their equipment.

Spells

confringo in hogwarts legacy

Once these basic preparations have been made, the player should then decide on what spells they plan to use for the battle. In order to leave Ranrok vulnerable during the battle, certain spells need to be cast, so the player should customize their spell set to include a yellow, red, and purple spell of their choosing. Confringo and Diffindo are two of the most effective damage-dealing spells in Hogwarts Legacy, so the player should place them both on their primary spell slot.

If players have unlocked some of the Spell Knowledge Talents from the Talents menu, they should customize each spell set to feature different yellow, red, and purple spells, as doing so will allow for more frequent casts.

crucio in hogwarts legacy

The Unforgivable Curses won't be as effective against Ranrok as they are elsewhere, but Crucio can still be used to damage Ranrok over time. The damage output of Crucio might not seem overly useful at first, but it can make a big difference if the player is struggling to land hits.

Once these requisites have been met, the player should begin The Final Repository by speaking with Professor Fig in The Map Chamber.

How To Beat Ranrok Dragon

Ranrok Dragon in Hogwarts Legacy

Upon defeating the trolls and goblins blocking the way forward, the protagonist will eventually be confronted by Ranrok. Before the battle can begin, however, Ranrok will transform into a dragon and take flight. When the cutscene ends, the player will slide down into a battle arena, where they will be forced to face Ranrok in his dragon form.

First Phase

Ranrok Dragon breathing fire in Hogwarts Legacy

Before the protagonist can attack Ranrok Dragon, they will need to wait until he stops flying around the arena. During this phase, he will hover above the edge of the arena while launching projectiles at the protagonist. Whenever Ranraok Dragon launches a fireball at the protagonist, the player should prepare to dodge or parry. Sometimes, Ranrok Dragon will launch an unblockable fireball. These fireballs must be dodged in order to avoid getting struck by them.

Aside from Ranrok Dragon's fireballs, the player will also need to avoid getting struck by his fire breath. This attack sees Ranrok Dragon firing a stream of red magic at the protagonist and then coating the ground in red spikes. The only way to avoid this attack is to dodge out of the way, but the player should also take care to avoid walking on the red particles the attack leaves behind.

Ranrok Dragon and a purple orb in Hogwarts Legacy

To leave Ranrok Dragon vulnerable to attack, the player will need to destroy the colored orbs that appear during the battle. Like with Pensieve Guardian orbs, these orbs can only be destroyed by casting a spell that matches the orb's color. When the orb is purple, the player should cast a purple spell; when it's yellow, they should cast a yellow spell; and when it's red, a red spell must be cast.

Upon destroying an orb, Ranrok Dragon's health bar will appear, permitting the player to dish out some damage. Confringo and Diffindo should then be used as often as possible to deplete Ranrok Dragon's health, but the player should also consider using Crucio from time to time if they hope to end the phase faster.

If Ranrok Dragon becomes invulnerable again, the player will need to destroy another orb to leave him open. Once a quarter of his health has been depleted, the player can proceed down the northern path to begin the second phase,

Second Phase

Finding a Wiggenweld Potion in Hogwarts Legacy

While traveling to the next arena, Ranrok Dragon will continue firing projectiles at the protagonist. This can make exploring the area a little difficult, but thankfully, there isn't much here to find here, aside from a Wiggenweld Potion beside the golden orb on the left-hand side of the path.

Upon entering the next arena, Ranrok will begin performing a new move that sees him covering the area near him in a red orb-like wall. To avoid taking damage from this attack, the player should flee in the opposite direction before it explodes. If the Swift Talent has been unlocked, holding the dodge button will allow the protagonist to teleport out of the blast radius with relative ease.

Ranrok Dragon and a purple orb and a red orb in Hogwarts Legacy

On top of this, the player will now need to destroy two colored orbs to leave Ranrok Dragon vulnerable. So long as multiple colored spells have been allocated to each spell slot, destroying these orbs shouldn't pose too much of a challenge. That said, the protagonist will need to get quite close to the orbs if they want to lock on to them, which will leave them vulnerable to Ranrok Dragon's new blast attack.

Aside from these differences, Ranrok Dragon's second phase functions similarly to the first, so all players need to do is repeat their previous approach and deplete another quarter of the foe's health. Once this has been done, a path leading deeper into the chasm will open at the eastern corner of the arena.

Third Phase

Ranrok Dragon and a red orb in Hogwarts Legacy

Upon descending into the lower section of this area, the player will find themselves in a giant arena, where they will need to face Ranrok Dragon one final time. Like with the previous phases, the player will need to destroy orbs to render Ranrok Dragon vulnerable, but this time, they will need to destroy a total of three per turn.

This part of the battle is pretty much the same as the second phase, but it will change when Ranrok Dragon's final health bar nears its halfway point.

Ranrok Dragon and a yellow orb in Hogwarts Legacy

When this happens, Ranrok Dragon will fly to the center of the arena and land. To leave him vulnerable now, four colored orbs must be destroyed, but getting to them can be quite difficult due to Ranrok Dragon's position in the arena. The player will need to circle around Ranrok Dragon in order to reach some of the orbs that appear, all while avoiding getting hit by his attacks.

During this phase, Ranrok Dragon will continue using all of the moves he has used thus far, but he will also lunge at the protagonist from time to time in an attempt to bite them. As well as this, he will often swipe his wing at the protagonist if they get too close, so it is important to maintain a safe distance whenever possible.

Fighting Ranrok Dragon in Hogwarts Legacy

These moves only become a problem when Ranrok Dragon becomes vulnerable; otherwise, he will remain mostly stationary at the center of the arena. That said, the player should move around as much as they can, as some of Ranrok Dragon's moves are even harder to predict now that he's taking up so much of the screen. The Swift Talent can be a huge help here, especially for when Ranrok Dragon is sprinting toward the protagonist from a distance.

Players should also make use of the unblockable projectiles Ranrok Dragon throws at the protagonist, as they can be thrown back at him to deal some pretty significant damage.

Ranrok Dragon and a purple orb in Hogwarts Legacy

Once all of Ranrok Dragon's health has been depleted, the player will need to destroy three colored orbs in order to end the battle. These orbs only remain in the air for a short amount of time, however, so the player will need to time their spells perfectly in order to avoid getting struck by one of Ranrok Dragon's many attacks.

Once all three orbs have been destroyed, the battle will end, and the player will have defeated Ranrok once and for all.

Hogwarts Legacy is available now on PC, PS5, and Xbox Series X/S. PS4 and Xbox One versions will release on April 4, and a Switch version will release on July 25.