Template:Ranged max hit/doc

Calculates the ranged maximum hit, based on the forumla here. Credit to Oblivion590, Legend Z5, Recklusfire1, Reaper X13, Shandlar, W I L M O T, Th3 Sun G0d, and Paleas.

Note

 * Alternative inputs that give the same effect are given as sub-bulletpoints.
 * All text inputs must be spelled correctly, but are case-insensitive.

ran
Your ranged level. This can be with or without boosts (remember if you input your level with boosts to not set any potion).

bonus
The strength bonus of the equipment being used, read from the equipment stats screen.

style
The attack style being used. One of:
 * accurate
 * rapid
 * longrange

pot
The strength-boosting potion being used. One of:
 * none
 * ranging
 * ranged
 * extreme ranging
 * extreme ranged
 * extreme

pray
The strength-affecting prayer being used. Leech Ranged varies with time between a minimum of 5% and a maximum of 10%. If you have a more precise value (read from the prayer menu), set  and input that bonus to.

Possible inputs:
 * none
 * sharp eye
 * hawk eye
 * eagle eye
 * leech ranged (min)
 * leech ranged (max)
 * custom bonus

cuspr
A custom input for prayer bonus.

If, input the percentage boost value from the prayer screen here.

void
If you are using a full set of void melee armour, set this to yes. Otherwise set to no.

slay
Are you wearing a slayer-related head item? Possible inputs:
 * no
 * yes
 * focus sight
 * focus
 * full slayer helm
 * full slayer helmet

cw
If you were wearing a castlewars bracelet when the game of castelwars started, set to yes. Otherwise, set to no.

Remember, this bonus only applies when fighting a flagbearer.

ring
Is the ferocious ring's bonus active? Yes or no.

Only applies while in Kuradal's Dungeon.

spec
The special attack in use. Possible inputs:
 * none
 * zanik's crossbow
 * dark bow and dragon arrows
 * dark bow and other arrows
 * dragonstone bolts (e)
 * diamond bolts (e)
 * onyx bolts (e)
 * opal bolts (e)
 * morrigan's throwing axe
 * guthix bow
 * zamorak bow

If a special attack is not listed here, it may be because the attack does not do increased damage, only increased accuracy/other effects.

Other notes

 * Not 100% correct
 * Void ranged bonus
 * Extreme ranging bonus

Disclaimer
This template calculates an approximation to your maximum hit. It may be incorrect, especially when using a special attack. If you hit higher than the template predicts, report your findings (including all variables etc) on the formula thread for analysis, which may result in a more accurate formula being produced.