17,101
edits
m (→Minimum Hit: Push formula to new line) |
(Update Evasion rating section) |
||
Line 1: | Line 1: | ||
{{V|0. | {{V|1.0.1}} | ||
[[File:Combat.svg|thumb|right|Combat]] | [[File:Combat.svg|thumb|right|Combat]] | ||
[[File:Combat Page Map.png|thumb|right|Combat page.]] | [[File:Combat Page Map.png|thumb|right|Combat page.]] | ||
Line 252: | Line 252: | ||
=== Evasion Rating === | === Evasion Rating === | ||
<!-- JS source: character.js, function computeEvasion | |||
The | -->The calculation used to determine the player's evasion rating varies depending on the attack type the player is defending against. Each requires the calculation of effective skill levels, the formula for which is as follows: | ||
<math> \small{ | <math>\small{\text{Effective Skill Level} = \text{Standard Skill Level} + \text{Hidden Skill Level}}</math> | ||
In addition, the player's evasion modifier need to be known. This is the sum of all global evasion rating and the relevant attack type's evasion rating increases, provided from places such as [[Herblore#Combat Potions|Potions]], {{Skill|Agility}}, and {{Skill|Astrology}}. | |||
==== Melee and Ranged Evasion Rating ==== | |||
First determine the relevant defence bonus, this will be the melee defence bonus for the {{Icon|Melee}} evasion rating, or the ranged defence bonus for the {{Skill|Ranged}} evasion rating. These stats can be found in the Equipment Stats interface. | |||
Given this, the evasion rating is then: | |||
<math> | <math>\text{Evasion Rating} = \left \lfloor \left ( \text{Effective Defence Level} + 9 \right ) \times \left ( \text{Defence Bonus} + 64 \right ) \times \left ( 1 + \frac{\text{Evasion Modifier}}{100} \right ) \right \rfloor</math><!-- | ||
Note: Strictly the evasion rating calculation also includes an element of scaling when the 'globalEvasionHPScaling' applies, however this is only available through the 'Fleeting Defence' enemy passive, so currently does not apply to the player --> | |||
==== Magic Evasion Rating ==== | ==== Magic Evasion Rating ==== | ||
The | The calculation for Magic evasion is slightly different from that for Melee and Ranged. The defence bonus used should naturally be the magic defence bonus. In addition, the effective defence level becomes a calculation that factors in both the player's effective Defence and Magic levels: | ||
<math> \small{ | <math>\small{\text{Effective Level} = 0.3 \times \text{Effective Defence Level} + 0.7 \times \text{Effective Magic Level}}</math> | ||
Then the magic evasion rating becomes: | |||
<math> | <math>\text{Evasion Rating} = \left \lfloor \left ( \text{Effective Level} + 9 \right ) \times \left ( \text{Magic Defence Bonus} + 64 \right ) \times \left ( 1 + \frac{\text{Evasion Modifier}}{100} \right ) \right \rfloor</math> | ||
{{Menu}} | {{Menu}} |