Combat: Difference between revisions

1,028 bytes added ,  26 August 2020
→‎Combat Mechanics: Added average hit & dps calculations
(→‎Basic Combat: Added monster spawn time.)
(→‎Combat Mechanics: Added average hit & dps calculations)
Line 159: Line 159:


<math> \text{Magic Evasion Rating} = \text{Effective Magic Defence Level} * (\text{Magic Defence Bonus} + 64) * (1 + \text{Potion Evasion Rating Bonus} / 100) * (1 + \text{Prayer Evasion Rating Bonus} / 100))</math>
<math> \text{Magic Evasion Rating} = \text{Effective Magic Defence Level} * (\text{Magic Defence Bonus} + 64) * (1 + \text{Potion Evasion Rating Bonus} / 100) * (1 + \text{Prayer Evasion Rating Bonus} / 100))</math>
=== Damage Per Hit, Average Hit, and Damage Per Second ===
If a player or monster successfully connects with an attack, the damage dealt will be a random value between their minimum and maximum hit. If no relevant equipment or Auroras are active, the player's minimum hit is 1. The minimum hit is applied after all strength and damage bonuses are calculated, which means that only bonuses that directly impact minimum hit will affect minimum hit. (in other words, if a player's minimum hit is 40 and they have +10% damage, they still have a minimum hit of 40 rather than 44)
Damage Reduction is applied after this initial damage per hit is calculated, which means it is possible for a player to deal less than their minimum hit against a monster that has Damage Reduction.
The player's average hit is thus:
<math>\text{Average Hit} = ((\text{Max Hit} + \text{Min Hit}) / 2) * (1 - \text{Enemy DR}</math>
And their damage per second can be calculated as:
<math>\text{DPS} = \text{Average Hit} / \text{Attack Speed}</math>


{{Menu}}
{{Menu}}
[[Category:Guides]]
[[Category:Guides]]