Damage Calculation

The final damage output of a player depends on various stats and factors. Below is the formula used to calculate the damage output of a given setup.
== Calculation ==
=== Important Notes ===
* All percent values should be converted to a decimal fraction. For example, 
* To get all necessary stats, follow these steps:
*# Open your inventory while holding your weapon
*# Open the SkyBlock Menu by clicking on the nether star (still inside the player inventory)
*# Check all necessary stats
* The Ring of Love bonus is treated as .
=== Information Needed ===
* Weapon Damage ()
* Player's ()
** When attacking a mob which is in the Bestiary, the bonus from the Bestiary should be added.
* Player ()
* Enchantments (). The values for enchantments should be summed.
* Combat Level ()
* Weapon Ability Damage Bonus ()
* Armor Set Ability Damage Bonus; if the description says "+ more damage", it is treated as . In other cases, like the Tarantula Armor "double damage", it is considered .
==== Enchantments ====
The following enchantments affect damage:
Enchantment	Explanation
 	Additive Multiplier towards Initial Damage
 	Additive Multiplier
Works the same way as Sharpness, just for defined Mobs.
 	
 	\min\left(\frac{\text{EnemyHP} - \text{PlayerHP}}{\text{PlayerHP}} \times \text{DMGperPercentage}, \text{DamageCap}\right)
The DMGperPercentage is the amount of value it increases. The DamageCap is the part where it says "up to X", which indicates the cap.
What's not included in that formula is the part that you get from doing this (EnemyHP - PlayerHP) / PlayerHP), incase you get a value that is 0.1, it wouldn't count it towards the damage increase, it is ment to be per percentage, so 1 or higher, but floored up. (not confirmed)
 	\frac{\text{EnemyDef}}{100} \times \text{EnchantMultiplier} \times 100\%
 	Same principle as Smite.
 	
 	\frac{\text{MaxHP} - \text{CurrentHP}}{\text{MaxHP}} \times \text{EnchantMultiplier} \times 100\%
 	\frac{\text{CurrentHP}}{\text{MaxHP}} \times 0.1 \times \text{EnchantLevel} \times 100\%
 	Additive Multiplier
Same principle as Smite.
 	
 	
 	Same principle as Smite.
 	
 	
* Enchantments like Fire Aspect, which contain "deals X% amount of your damage", will deal the X% amount of damage, based on the amount of the that you dealt.
=== Damage Calculator ===
<tabber>
|-|Basic=
Note: All inputs must be non-negative integers under 1,000,000.
|-|Advanced=
This is an advanced damage calculator with more features.
There are custom fields. If one of those fields was empty at the beginning, leave them empty once you do not use them. Hold an item and check the stats in-game. Not all bonus stats get added together on the profile stats in the /sbmenu. There can be invisible stats, like Extra Bonus on Tarantula Helmet. Please note that the calculator will allow enchantment combinations that wouldn't work in-game, e.g. you wouldn't be able to have and together. Also note that arrows add additional damage as well.
Note: All inputs must be non-negative integers under 1,000,000.
</tabber>
=== Formulae ===
==== Initial Damage ====
\left(5 + \text{WeaponDMG}\right) \times \left(1 + \frac{\text{Strength}}{100}\right)
==== Damage Multiplier ====
1 + \text{CombatLevelBonus} + \text{Enchants} + \text{WeaponBonus}
==== Final Damage ====
\left\lfloor \text{InitialDamage} \times \text{DamageMultiplier} \times (1+\text{ArmorBonus}) \times \left(1 + \frac{\text{CritDamage}}{100}\right)\right\rfloor
==== Example Data ====
Player Stats 	
Player Combat Level	17
Weapon 	
Armor 	Tarantula Armor
Hit Number 	4
Enemy HP 	
==== Example Calculation ====
 = \left(5 + 110\right) \times \left(1 + \frac{271}{100}\right)
 = 115 \times 3.71
 = 
 = \frac{2000 - 1000}{1000} \times 0.6
 = 
Since the cap is at , it is brought down to .
 = 1 + \left(17 \times 0.04\right) + ({\color{red}0.3} + {\color{cyan}0.3}) + 1.5
 = 
 = \left\lfloor 426.65 \times 3.78 \times {\color{blue}2} \times \left(1 + 2.15\right)\right\rfloor
 = 
== Trivia ==
* The damage bonus from the Warden Helmet is part of the .
* The damage bonus from the perk of the Golden Dragon pet is part of the .
* The damage bonus from the perk of the Lion pet is part of the .
* The damage bonus from the full set abilities of tuxedos are part of the .
* The damage bonus from the full set ability of the Final Destination Armor is part of the .
* The damage from the , the One Punch Dragon Essence Shop perk and the enchantment is added to the after all other calculations, but on critical hits, it is also affected by the of the player, the same way as the rest of the damage.https://hypixel.net/threads/test-details-on-how-the-soul-eater-enchantment-works.4667628/
== See Also ==
* Ability Damage, also for Ability Damage Calculation.
* Combat Mechanics
* Google Spreadsheet for Damage Calculation
== History ==
== References ==
Category:Mechanics
Category:Pages with math equations
zh:伤害值计算ko:데미지 계산