Dungeon Score

== Ranking ==
Ranking	Score Needed	Image
 	0-99 	
 	100-159 	
 	160-229 	
 	230-269.4 	
 	269.5-299 	
 	≥300 	
=== Floor Indicator ===
The small skulls between headline and score represent the Dungeon floor the rank has been achieved on.
== Calculation ==
=== 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.
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
=== 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 6, 12 minutes. In Floor 7, 14 minutes. In Master Mode Floor 1-5, 8 minutes. In Master Mode Floor 6, 10 minutes. In Master Mode Floor 7, 14 minutes.
After this, speed is deducted by 1 every 12 seconds until 90, every 24 seconds until 80, every 30 seconds until 70, and every 40 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{on Floor 1, 2, 3, 5} \\
\text{Total Seconds} - 240 & \text{on Floor 4, 6} \\
\text{Total Seconds} - 360 & \text {on Floor 7} \\
\text{Total Seconds} & \text{on Master Mode Floor 1-5} \\
\text{Total Seconds} - 120 & \text{on Master Mode Floor 6} \\
\text{Total Seconds} - 360 & \text{on Master Mode Floor 7}
\end{cases}
:Speed = 
\begin{cases} 
 100 & T < 480
\\ \lceil 140 - (1/12)T\rceil & 480 \leq T < 600 
\\ \lceil 115 - (1/24)T\rceil & 600 \leq T < 840 
\\ \lceil 108 - (1/30)T\rceil & 840 \leq T < 1140 
\\ \lceil 98.5 - (1/40)T \rceil & 1140 \leq T < 3940 
\\ 0 & T \geq 3940 
\end{cases}
=== Bonus ===
Up to 5 bonus points are awarded for killing in blown 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.
=== Score Calculator ===
== Trivia ==
* Many people once thought that killing fairies would decrease the final Dungeon Score. However, this has been proven to be a misconception.Killing fairies does not decrease Dungeon Score https://hypixel.net/threads/killing-fairies-does-not-decrease-your-bonus-score.3130431/
* 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.
* An indication that calculates Dungeon Score for each dungeon run so far has been added to the scoreboard(to the right of "Cleared:" section).Dungeon Score Indication Added https://hypixel.net/threads/0-12-3-master-mode-7.4845290/
== 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
== History ==
== References ==
Category:Dungeons
Category:Catacombs
Category:Pages with math equations