Dungeon Score

Floor Indicator
The small skulls between headline and score represent the Dungeon floor the rank has been achieved on.

Skill
Every death subtracts 2 points from the final skill score. Additionally, every failed puzzle subtracts 14 points from the score.

If the first player to die in a Dungeon run has a Spirit Pet in their pets menu, the score penalty for their death is reduced to 1.


 * $$\text{Skill} = \left\lfloor100 - \text{Deaths} \times 2 - \text{Failed Puzzles} \times 14\right\rfloor$$
 * $$\text{Skill} = \left\lfloor100 - \text{Deaths} \times 2 - \text{Failed Puzzles} \times 14\right\rfloor$$

Explore
A room is considered complete when all star mobs of the room have been defeated. In the case of Trap rooms, they are considered complete when the last secret within them is found. This is the upper chest in the 3-secret variation, and the chest in the right hand side room in the 4-secret variation. Completed rooms are marked with a white tick on the Magical Map.

60 points of the base score is multiplied by the percentage of cleared rooms in a dungeon run (displayed in the sidebar). The other 40 points of the explore score is a maximum of 40 points for secrets.

$$Secret Requirement = \begin{cases} 30% & \text{on Floor 1} \\ 40% & \text{on Floor 2} \\ 50% & \text{on Floor 3} \\ 60% & \text{on Floor 4} \\ 70% & \text{on Floor 5} \\ 85% & \text{on Floor 6} \\ 100% & \text{on Floor 7 and Master Mode} \end{cases}$$

$$\text{Explore} = \left\lfloor\frac{60 \times \text{Cleared Rooms}}{\text{Total Rooms}}\right\rfloor + \left\lfloor\frac{40 \times \text{Secrets Found}}{\text{Secret Requirement} \times \text{Total Secrets}} \text {(Max 40)}\right\rfloor$$

Click here to use the skill score calculator.

Speed
Players have a set amount of minutes to clear a dungeon before the Speed score starts to decrease. In Floor 1-3 and 5, players have 10 minutes. In Floor 4 and 7, they have 12 minutes. In Floor 6, they have 10 minutes. In Master Mode, 8 minutes. After this, speed is deducted by 1 every 10 seconds until 90, every 20 seconds until 70, and every 30 seconds onwards.

This applies only if they win the dungeon run. If they do not beat the final boss, the speed score is the percentage of the dungeon rooms that have been cleared.


 * $$T = \begin{cases} \text{Total Seconds} - 240 & \text{on Floor 4, 7} \\\text{Total Seconds} & \text {on Floor 6}\\ \text{Total Seconds} - 120 & \text{on Floor 1, 2, 3, 5} \\ \text{Total Seconds} & \text{on Master Mode} \end{cases}$$
 * $$Speed = \begin{cases} 100 & T \leq 480 \\ \lceil148 - 0.1T\rceil & 480 < T \leq 580 \\ \lceil119 - 0.05T\rceil & 580 < T \leq 980 \\ \lceil102 - (1/30)T\rceil &980 < T < 3060 \\ 0 & 3060 \leq T \end{cases}$$

Bonus
Up to 5 bonus points are awarded for blowing up Crypts.
 * $$\text{Bonus} =

\begin{cases} 5 & \text{Crypts Cleared} > 5 \\ \text{Crypts Cleared} & \mbox{otherwise} \end{cases} $$

On The Catacombs - Floor VI and above, killing the Mimic grants 2 bonus points.

If Paul is mayor and his EZPZ perk is active, then 10 bonus points will be awarded in addition to the crypt bonus.

Trivia

 * Many people once thought that killing fairies would decrease the final Dungeon Score. However, this has been proven to be a misconception.
 * If the boss is not killed, Dungeon Score will be reduced by 30%.
 * The maximum amount of deaths a party can have and still get S+ is 2 on floors 0-5, and 3 in floor 6 and 7.
 * If Paul is mayor, the maximum number of deaths is increased by 5.
 * If the first person to die in a run had a Spirit Pet, the maximum number of deaths wouldn't be affected by that death. Every death after the first death counts.

Data
The following table represents a selected dataset of many dungeon runs to test theories about how certain scores could have been calculated. Once all 4 formulas are confirmed and working this dataset becomes obsolete and may be deleted. https://docs.google.com/spreadsheets/d/1Pw5u6je86vw6XS-PVB3CHdebTq0ZFKTUZOl5cEk5ihg/edit?usp=sharing

Having not enough data for correctly reverse engineering the formulas, there has been created a google form to ask the community for help. Maybe one day we have enough data to successfully replicate the formulas.

Link to the form: https://forms.gle/FhKD23cB3nKqBJQa6

The data collected is then available to everyone over the following link: https://docs.google.com/spreadsheets/d/1B7nXJwEYINS6B4DT2N8XA8FUIORRQFlVcPHMmN1emQw/edit?usp=sharing