17,489
edits
(→Accuracy Rating: Mention potions as a source of accuracy modifiers) |
(Update Chance to Hit, Max Hit sections) |
||
Line 45: | Line 45: | ||
== Gaining Experience == | == Gaining Experience == | ||
Players can gain experience in | Players can gain experience in nine different skills while training combat: | ||
{{Skill|Hitpoints}} experience is gained at a rate of 0.133 experience per damage dealt regardless of the combat style being used. | {{Skill|Hitpoints}} experience is gained at a rate of 0.133 experience per damage dealt regardless of the combat style being used. | ||
Line 60: | Line 60: | ||
Slayer Experience cannot be increased by the {{ItemIcon|Gold Emerald Ring}}, however the various pieces of Slayer Equipment that can be purchased from the [[Shop]] using {{Icon|Slayer Coins}} provides an experience bonus when worn. | Slayer Experience cannot be increased by the {{ItemIcon|Gold Emerald Ring}}, however the various pieces of Slayer Equipment that can be purchased from the [[Shop]] using {{Icon|Slayer Coins}} provides an experience bonus when worn. | ||
{{Skill|Summoning}} experience can be gained if the player has equipped [[Summoning#Summoning Tablets|tablets]] for at least one combat familiar. Summoning experience will be granted whenever the familiar attacks the enemy, consuming a tablet in the process. Being a non-combat skill, Summoning experience gained cannot be increased by the {{ItemIcon|Gold Emerald Ring}}. | |||
== Death == | == Death == | ||
Receiving damage that would bring the player's total {{Skill|Hitpoints}} to 0 or below will cause the player to die. Upon death a random | Receiving damage that would bring the player's total {{Skill|Hitpoints}} to 0 or below will cause the player to die. Upon death a random equipment slot is selected, any [[Equipment]] within the selected slot will be lost forever (unless the {{PrayerIcon|Protect Item}} prayer is active). If either ammunition or Summoning tablets are lost, the entire stack - regardless of size - will be forfeited. Only non-[[food]] items that have been equipped in an active slot can be lost upon death. | ||
All items equipped have an equal chance of being lost. When the death penalty rolls to determine which item is lost, it starts by rolling a random equipment slot. If the player has nothing equipped in that slot (For example, if they are using Melee and do not have any Ammo equipped) nothing will be lost, and a message saying "Luck was on your side today. You lost nothing." will appear. | All items equipped have an equal chance of being lost. When the death penalty rolls to determine which item is lost, it starts by rolling a random equipment slot. If the player has nothing equipped in that slot (For example, if they are using Melee and do not have any Ammo equipped) nothing will be lost, and a message saying "Luck was on your side today. You lost nothing." will appear. | ||
Line 118: | Line 120: | ||
<math>\small{\text{Effective Skill Level} = \text{Standard Skill Level} + \text{Hidden Skill Level}}</math> | <math>\small{\text{Effective Skill Level} = \text{Standard Skill Level} + \text{Hidden Skill Level}}</math> | ||
Where 'Standard Skill Level' is the player's skill level as seen in the left-hand navigation bar (up to a maximum of 99), while 'Hidden Skill Level' is the sum of any hidden skill level bonuses, such as those granted by {{Skill|Astrology}}. | |||
Next, the base accuracy bonus should be calculated. This is the sum of the relevant attack bonus statistic provided by all currently equipped equipment (as seen in the | Next, the base accuracy bonus should be calculated. This is the sum of the relevant attack bonus statistic provided by all currently equipped equipment (as seen in the Equipment Stats interface), plus: | ||
* {{Icon|Melee}} | * {{Icon|Melee}} | ||
** +15 if fighting a {{Skill|Ranged}} monster while the {{ItemIcon|Minotaur}}/{{ItemIcon|Centaur}} synergy is active | ** +15 if fighting a {{Skill|Ranged}} monster while the {{ItemIcon|Minotaur}}/{{ItemIcon|Centaur}} synergy is active | ||
Line 127: | Line 129: | ||
** The additional ranged attack bonus provided by {{ItemIcon|Stormsnap}} if equipped, the formula for this is included on the bow's page | ** The additional ranged attack bonus provided by {{ItemIcon|Stormsnap}} if equipped, the formula for this is included on the bow's page | ||
In addition, the player's accuracy modifier needs to be known. This is the sum of all global accuracy rating and the relevant attack type's accuracy rating increases, provided from places such as [[Herblore#Combat Potions|Potions]], {{Skill|Agility}}, and {{Skill|Astrology}}. | In addition, the player's accuracy modifier needs to be known. This is the sum of all global accuracy rating and the relevant attack type's accuracy rating increases, provided from places such as [[Herblore#Combat Potions|Potions]], {{Skill|Agility}}, and {{Skill|Astrology}}. If using [[Magic#Standard Magic|Surge spells]], this modifier is increased by a further 6%. | ||
Finally, the player's accuracy rating can then be calculated as: | Finally, the player's accuracy rating can then be calculated as: | ||
Line 136: | Line 138: | ||
=== Chance to Hit === | === Chance to Hit === | ||
To calculate the chance an attack will hit, the Accuracy Rating of the attacker is compared to the relevant Evasion Rating of the | <!-- JS source: character.js, function computeHitChance | ||
-->To calculate the chance an attack will hit, the Accuracy Rating of the attacker is compared to the relevant Evasion Rating of the target. If the attacker's Accuracy Rating is lower than the defender's evasion rating the formula is as follows: | |||
<math> \small{ \begin{aligned} \text{Hit | <math> \small{ \begin{aligned} \text{Percentage Hit Chance} = \frac{\text{Attacker Accuracy Rating}}{2 \times \text{Target Evasion Rating}} \times 100 \end{aligned}} </math> | ||
Otherwise, the attacker's Accuracy Rating is higher than or equal to the target's Evasion Rating, and the formula is instead: | |||
<math> \small{ \begin{aligned} \text{Hit | <math> \small{ \begin{aligned} \text{Percentage Hit Chance} = 1 - \frac{\text{Target Evasion Rating}}{2 \times\text{Attacker Accuracy Rating}} \times 100 \end{aligned}}</math> | ||
When the attacker's Accuracy Rating and the target's Evasion Rating are the same, the chance to hit is 50%. The higher the attacker's Accuracy Rating is above the targets Evasion Rating, the less valuable each point will be. At double the | When the attacker's Accuracy Rating and the target's Evasion Rating are the same, the chance to hit is 50%. The higher the attacker's Accuracy Rating is above the targets Evasion Rating, the less valuable each point will be. At double the target's Evasion Rating, the attacker will hit 75% of the time, at triple, the attacker will hit 83.3% of the time. | ||
=== Max Hit === | === Max Hit === | ||
==== Melee Max Hit ==== | <!-- JS source: character.js, function computeMaxHit --> | ||
==== Melee and Ranged Max Hit ==== | |||
<!-- JS source: character.js, functions computeMeleeMaxHit, computeRangedMaxHit | |||
-->First, calculate the player's effective {{Skill|Strength}} level for the melee max hit, or the effective {{Skill|Ranged}} level for the ranged max hit: | |||
<math> \small{ | <math>\small{\text{Effective Skill Level} = \text{Standard Skill Level} + \text{Hidden Skill Level}}</math> | ||
Where 'Standard Skill Level' is the player's skill level as seen in the left-hand navigation bar (up to a maximum of 99), while 'Hidden Skill Level' is the sum of any hidden skill level bonuses, such as those granted by {{Skill|Astrology}}. | |||
Next, the strength bonus should be calculated. This is the sum of the relevant statistic provided by all currently equipped equipment (as seen in the Equipment Stats interface), where the relevant statistic is: | |||
* '''Melee strength bonus''' for {{Icon|Melee}} | |||
* '''Ranged strength bonus''' for {{Skill|Ranged}} | |||
Given these figures, the base max hit (i.e. max hit before modifiers) is then calculated as: | |||
<math>\text{Base Max Hit} = \left \lfloor 10 \times \left ( 1.3 + \frac{\text{Effective Skill Level}}{10} + \frac{\text{Strength Bonus}}{80} + \frac{\text{Effective Skill Level} + \text{Strength Bonus}}{640} \right ) \right \rfloor</math> | |||
This base max hit is then adjusted by the percentage and flat max hit modifiers to arrive at the final max hit figure, where the modifiers include both global max hit increases as well as increases specific to the relevant attack type: | |||
<math>\text{Max Hit} = \left \lfloor \text{Base Max Hit} \times \left ( 1 + \frac{\text{Percentage Max Hit Modifier}}{100} \right ) \right \rfloor + \text{Flat Max Hit Modifier}</math> | |||
==== | ==== Magic Max Hit ==== | ||
The | <!-- JS source: character.js, functions computeMagicMaxHit | ||
-->The player's Max Hit with [[Magic#Spells|spells]] changes depending on the spell being used. A spell's max hit is listed in the spell's description and is different for every spell. Magic Damage Bonus can be found in the Equipment Stats interface. | |||
For [[Magic#Ancient Magicks|Ancient Magick spells]] the max hit is simply as stated in the spell's description, and cannot be increased by the Magic Damage Bonus stat or any max hit modifiers - only the [[Combat Triangle]] damage bonus/penalty applies. | |||
For [[Magic#Standard Magic|standard spells]], first determine the max hit stated in the spell's description along with the player's effective {{Skill|Magic}} level by using the same effective level formula as [[#Melee and Ranged Max Hit|Melee and Ranged max hit]] does. The base max hit is then: | |||
<math> \ | <math>\text{Base Max Hit} = \left \lfloor 10 \times \text{Spell Max Hit} \times \left ( 1 + \frac{\text{Magic Damage Bonus}}{100} \right ) \times \left ( 1 + \frac{1 + \text{Effective Magic Level}}{200} \right ) \right \rfloor</math> | ||
This base max hit is then adjusted by the percentage and flat max hit modifiers to arrive at the final max hit figure, where the modifiers include both global and magic max hit increases. Any damage increases with the same element as the spell being used (such as that provided by the {{ItemIcon|Cloudburst Staff}}) are also added to the flat max hit modifier: | |||
<math>\text{Max Hit} = \left \lfloor \text{Base Max Hit} \times \left ( 1 + \frac{\text{Percentage Max Hit Modifier}}{100} \right ) \right \rfloor + \text{Flat Max Hit Modifier}</math> | |||
===Calculating Damage Dealt=== | ===Calculating Damage Dealt=== |