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$$

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.
 * $$\text{Explore} = \left\lfloor\frac{60 \times \text{Cleared Rooms}}{\text{Total Rooms}}\right\rfloor + \left\lfloor\frac{40 \times \text{Secrets Found}}{\text{Total Secrets}}\right\rfloor$$

Click here to use the skill score calculator.

Speed
Players have 22 minutes for a dungeon run to still reach a speed score of 100. After 22 minutes, 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} - 120 & \text{if floor is 2} \\ \text{Total Seconds} & \text{otherwise} \end{cases}$$
 * $$Speed = \begin{cases} 100 & T \leq 1320 \\ \lceil232 - 0.1T\rceil & 1320 < T \leq 1420 \\ \lceil161 - 0.05T\rceil & 1420 < T \leq 1820 \\ \lceil392/3 - (1/30)T\rceil & 1820 < T < 3920 \\ 0 & 3920 \leq T \end{cases}$$

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

\begin{cases} 5 & Crypts Cleared > 5 \\ 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 is increased by 1.

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