Template:Combat/doc

From Darkan
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Combat.
It contains usage information, categories, and other content that is not part of the original template page.

The Combat template displays the four components that determine the Combat level of a RuneScape character. The formula is the result of a large reverse engineering activity using player-contributed data, and is remarkably accurate.

The Combat level description shows the formula used in this template. It contains several non-linear components (various floor operations), which complicate reverse engineering as different skill levels can still produce the same combat level. The reported error margin in the combat formula (under 0.6%) can be explained by accidental typing errors in some of the skill level contributions used in the reverse engineering project.

Usage

The main use for this template is for inclusion in a User page which contributors can create when they have opened an account on the wiki. Without an account please use the Sandbox to experiment with the template, or post it on your page rather than editing this template page.

The general format for inserting the template is {{Combat|''combat parameters''}} The combat parameters follow the Template:User stats format. Note that when a parameter is absent, the template will use a default value of 1.

This template can be collapsed using the collapsible parameter. The options are:

  • plain (default) - [show]/[hide] link not visible
  • collapsed - template collapsed (or hidden)
  • collapsed - template uncollapsed (or visible)

Example

New player

Combat level
1 10
1 1
1 3.4 3
1
1 3.07 3
1 3.07 3

The following template call describes a new player without any combat experience. This also are the default values that the template uses when the parameter is absent or misspelled.

{{Combat|Attack=1|Defence=1|Strength=1|Constitution=10|Prayer=1|Ranged=1|Magic=1|Summoning=1}}

Advanced player

Combat level
84 92
73 27
92 115.72 115
91
87 98.5 98
98 104.02 104

The table shows that a starting player will have a combat level of 3. Another example shows a slightly more advanced player:

{{Combat|Attack=92|Defence=84|Strength=91|Constitution=92|Prayer=73|Ranged=87|Magic=98|Summoning=27}}

The first two rows in the table contain the skill levels for the skills that contribute to the the base combat. The base combat is shown with an accuracy of two decimal places. The following rows show the different combat classes (melee, ranged and magic). The row lists the combat skills used for a combat calculation as well as the fractional and the truncated combat values. For the example above, the in-game combat level shown for this player will be 115 which is the highest combat level in the table.

Maximum levels

Combat level
99 99
98 98
99 138.35 138
99
1 74.32 74
1 74.32 74

The highest combat levels can be achieved with the following skill levels:

{{Combat|Attack=99|Defence=99|Strength=99|Constitution=99|Prayer=98|Ranged=1|Magic=1|Summoning=98}}

Note that level 99 Prayer and level 99 Summoning is not required for a combat level of 138, as the floor operation gives the same contribution to the base combat level. You also don't need a higher level than 1 in Ranged and Magic because they don't contribute to the combat level of a warrior, which gives the highest combat level.

Possible uses

A simple use is to show the combat build up of a RuneScape character. A more advance use allows players to enter target combat skill levels and examine the effect on the combat level. This is particularly useful when training a pure. Pures may train other combat skills without impact their pureness.

Some players are only interested in the levels they need to gain to achieve a certain combat level target. Computing the amount of experience points that such additional levels require can be easily derived from the experience difference between those levels. But you must realize that if a player only aims for a certain combat they can end up a whole lot weaker then people who are of the same combat

How it works

The gory details of the template are viewable by entering the edit mode for the template page. The Combat level template performs the actual calculations. The template consumes around 24 kilobytes of pre-expand include space of the available 2 megabytes.