17,489
edits
(Updated highest combat level monster) |
(Update Combat Level & Accuracy Rating sections, the rest is a WIP) |
||
Line 53: | Line 53: | ||
No additional {{Skill|Magic}} experience is directly generated for using [[Magic#Curses|Curses]] or [[Magic#Auroras|Auroras]], although they may indirectly generate additional experience by increasing the amount of damage the player deals. | No additional {{Skill|Magic}} experience is directly generated for using [[Magic#Curses|Curses]] or [[Magic#Auroras|Auroras]], although they may indirectly generate additional experience by increasing the amount of damage the player deals. | ||
Players gain 0. | Players gain <math>\frac{1}{30}</math> or <math>0.0\bar{3}</math> {{Skill|Prayer}} experience per damage dealt per prayer point spent on prayers that affected the attack. For example, if {{PrayerIcon|Steel Skin}} (3 prayer point cost) is active, each attack made will generate 0.1 extra experience per damage dealt. Only prayers such as {{PrayerIcon|Thick Skin}} that say 'Provides extra Prayer XP based on damage dealt to the enemy' in their description will generate experience this way - Prayers such as {{PrayerIcon|Protect from Magic}} that say 'Provides no extra Prayer XP' will not contribute towards this experience bonus. | ||
All of the above experience will be multiplied by 1.04 while a {{ItemIcon|Gold Emerald Ring}} is equipped. | All of the above experience will be multiplied by 1.04 while a {{ItemIcon|Gold Emerald Ring}} is equipped. | ||
Line 72: | Line 72: | ||
The first formula is used to calculate the player's Base Combat Level. | The first formula is used to calculate the player's Base Combat Level. | ||
<math>\small{ \begin{aligned} \text{Base Combat Level} = 0.25 | <!-- JS source: utils.js, function getPlayerCombatLevel | ||
--><math>\small{ \begin{aligned} \text{Base Combat Level} = 0.25 \times (\text{Defence Skill Level} + \text{Hitpoints Skill Level} + \lfloor 0.5 \times \text{Prayer Skill Level} \rfloor) \end{aligned}}</math> | |||
The second set of formulas are used to calculate the player's Offensive Combat Levels, only the highest result is used. | The second set of formulas are used to calculate the player's Offensive Combat Levels, only the highest result is used. | ||
<math>\small{\begin{aligned}\text{Melee Combat Level} = | <math>\small{\begin{aligned} | ||
\text{Melee Combat Level} &= \text{Attack Skill Level} + \text{Strength Skill Level} \\ | |||
\text{Ranged Combat Level} &= \lfloor 1.5 \times \text{Ranged Skill Level} \rfloor \\ | |||
\text{Magic Combat Level} &= \lfloor 1.5 \times \text{Magic Skill Level} \rfloor | |||
\end{aligned}}</math> | |||
The third formula is used to calculate the player's Combat Level, rounded down to the nearest whole number. | |||
<math>\small{\begin{aligned}\text{Combat Level} = \lfloor \text{Base Combat Level} + 0.325 \times \text{Highest Offensive Combat Level} \rfloor\end{aligned}}</math> | |||
<math>\ | Where: <math> \left \lfloor x \right \rfloor </math> is the [https://en.wikipedia.org/wiki/Floor_and_ceiling_functions floor function]. | ||
=== Stun (Freeze) === | === Stun (Freeze) === | ||
Line 94: | Line 97: | ||
=== Accuracy Rating === | === Accuracy Rating === | ||
<!-- JS source: character.js, function computeAccuracy | |||
The | -->The calculation used to determine the player's accuracy rating is broadly the same for all combat styles, with some parameters varying depending on the player's current attack type and style: | ||
{| class="wikitable stickyHeader" | |||
|- class="headerRow-0" | |||
! Attack Type !! Attack Style !! Skill Level !! Attack Bonus Stat | |||
|- | |||
| rowspan="3" | {{Icon|Melee}} || {{Skill|Attack|Stab|nolink=true}} || {{Skill|Attack}} || Stab attack bonus | |||
|- | |||
| {{Skill|Strength|Slash|nolink=true}} || {{Skill|Strength}} || Slash attack bonus | |||
|- | |||
| {{Skill|Defence|Block|nolink=true}} || {{Skill|Defence}} || Block attack bonus | |||
|- | |||
| {{Skill|Ranged}} || All || {{Skill|Ranged}} || Ranged attack bonus | |||
|- | |||
| {{Skill|Magic}} || All || {{Skill|Magic}} || Magic attack bonus | |||
|} | |||
The first formula is used to determine the player's effective skill level: | |||
<math>\small{\text{Effective Skill Level} = \text{Standard Skill Level} + \text{Hidden Skill Level}}</math> | |||
Here, '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 "View Equipment Stats" interface), plus: | |||
* {{Icon|Melee}} | |||
** +15 if fighting a {{Skill|Ranged}} monster while the {{ItemIcon|Minotaur}}/{{ItemIcon|Centaur}} synergy is active | |||
* {{Skill|Ranged}} | |||
** +15 if fighting a {{Skill|Magic}} monster while the {{ItemIcon|Witch}}/{{ItemIcon|Centaur}} synergy is active | |||
** 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 {{Skill|Agility}} and {{Skill|Astrology}}. | |||
Finally, the player's accuracy rating can then be calculated as: | |||
<math>\text{Accuracy Rating} = \left \lfloor \left (\text{Effective Skill Level} + 9 \right ) \times \left (\text{Base Accuracy Bonus} + 64 \right ) \times \left (1 + \frac{\text{Accuracy Modifier}}{100} \right ) \right \rfloor</math> | |||
<math> \ | Where: <math> \left \lfloor x \right \rfloor </math> is the [https://en.wikipedia.org/wiki/Floor_and_ceiling_functions floor function]. | ||
\ | |||
=== Chance to Hit === | === Chance to Hit === |