Template:Melee max hit/doc

See the talk page for more information.

Calculates the melee 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.

str
Your strength 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
 * defensive
 * aggressive
 * controlled

pot
The strength-boosting potion being used. One of:
 * none
 * strength
 * combat
 * super strength
 * super
 * zamorak
 * zamorak brew
 * extreme strength
 * extreme

Potions have priority over the dragon battleaxe special.

dba
The strength-boost from the dragon battleaxe's special attack. If you plan to use another special attack (i.e. you use the dragon battleaxe's special attack, equip a different weapon, wait for the special bar to restore and use that weapon's special attack), then select the input using with the value required to use the second weapon's special attack. Possible values:
 * no
 * yes
 * yes 0
 * yes 0%
 * yes 30
 * yes 30%
 * yes 50
 * yes 50%
 * yes 100
 * yes 100%

Potions have priority over the dragon battleaxe special.

pray
The strength-affecting prayer being used. Leech Strength varies with time between a minimum of 5% and a maximum of 10%, and Turmoil varies with the opponent's level between a minumum of 23% and a maximum of 32%. If you have a more precise value (read from the prayer menu), set  and input that bonus to. Alternatively, if you are using Turmoil and know your opponent's strength level, set  and input your opponents strength level into.

Possible inputs:
 * none
 * burst of strength
 * superhuman strength
 * ultimate strength
 * chivalry
 * piety
 * leech strength (min)
 * leech strength (max)
 * turmoil (min)
 * turmoil (max)
 * custom bonus
 * custom level

cuspr
A custom input for prayer bonus.

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

If, input your opponents strength level 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
 * black mask
 * slayer helm
 * slayer helmet
 * full slayer helm
 * full slayer helmet

salve
Salve amulet in use. Possible values:
 * none
 * no
 * yes
 * salve amulet
 * e
 * (e)
 * salve amulet (e)

berserk
If you are wearing a berserker necklace with an obsidian weapon, set to yes. Otherwise, set to no.

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.

keris
If you are using a keris against kalphites or scarabites, set to yes, otherwise set to no.

spec
The special attack in use. Possible inputs:
 * saradomin sword
 * dragon claws
 * none
 * armadyl godsword
 * bandos godsword
 * other godswords
 * saradomin godsword
 * zamorak godsword
 * dragon longsword
 * dragon mace
 * dragon dagger
 * dragon halberd
 * rune claws
 * statius's warhammer
 * vesta's longsword

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