Difference between revisions of "Template:Weapon Stats Table/Melee"
Jump to navigation
Jump to search
Tag: Undo |
(Example save) |
||
Line 1: | Line 1: | ||
− | <includeonly><div><li style="display: inline-table;">{{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base|100}}|R}}}} | + | <includeonly><div><li style="display: inline-table;"> |
+ | {{#vardefine:stufftags|{{lc:{{Q|{{#vardefineecho:name | {{{ 1 | {{PAGENAME}} }}} }}|Stuff Tags}} }} }}<!-- | ||
+ | -->{{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base|100}}|R}}}}<!-- | ||
+ | -->{{#vardefine:defaultM|{{{2|Steel}}} }} | ||
{| {{STDT|sortable c_03 text-center}} | {| {{STDT|sortable c_03 text-center}} | ||
− | ! {{#if: {{# | + | |+ <!--Select which features you'd like to compare--> |
− | ! colspan="2" style="vertical-align: middle;" | | + | |- |
− | <th {{#vardefineecho:collapseA|class="mw-collapsible mw-collapsed" id="mw-customcollapsible- | + | ! Feature !! Toggle |
+ | |- | ||
+ | {{Control Panel|Attacks}} | ||
+ | {{Control Panel|Quality}} | ||
+ | <!--{{#if:{{#var:stufftags}} | | ||
+ | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] OR}} | ||
+ | {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}} || [[Stuff Category::Fabric]] OR}} | ||
+ | {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}} || [[Stuff Category::Woody]] OR}} | ||
+ | {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}} || [[Stuff Category::Stony]] OR}} | ||
+ | {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} || [[Stuff Category::Metallic]]}} | ||
+ | | format = template | ||
+ | | template = Control Panel | ||
+ | | link = none | ||
+ | }} | ||
+ | }} --> | ||
+ | |} | ||
+ | {| {{STDT|sortable c_03 text-center}} | ||
+ | ! {{#if:{{#var:stufftags}}|colspan="2"}} style="vertical-align: middle;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}} | ||
+ | ! colspan="2" style="vertical-align: middle;" | | ||
+ | <th {{#vardefineecho:collapseA|class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseAttacks"}} style="border-style: none;" colspan="5">{{ucfirst:{{Q|{{#var:name}}|Attack 1 Part}}}} ([[Damage types#{{Q|{{#var:name}}|Attack 1 Type}}|{{Q|{{#var:name}}|Attack 1 Type}}]])</th><!-- | ||
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | -->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | ||
<th {{#var:collapseA}} style="border-style: none;" colspan="5">{{ucfirst:{{Q|{{#var:name}}|Attack 2 Part}}}} ([[Damage types#{{Q|{{#var:name}}|Attack 2 Type}}|{{Q|{{#var:name}}|Attack 2 Type}}]])</th> | <th {{#var:collapseA}} style="border-style: none;" colspan="5">{{ucfirst:{{Q|{{#var:name}}|Attack 2 Part}}}} ([[Damage types#{{Q|{{#var:name}}|Attack 2 Type}}|{{Q|{{#var:name}}|Attack 2 Type}}]])</th> | ||
Line 11: | Line 33: | ||
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 4 Part}}}} ([[Damage types#{{Q|{{#var:name}}|Attack 4 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]])</th> | <th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 4 Part}}}} ([[Damage types#{{Q|{{#var:name}}|Attack 4 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]])</th> | ||
}} | }} | ||
− | ! rowspan="2" style="vertical-align: middle;" data-sort-type="number" | {{HP}} | + | ! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 2px; border-style: none none solid none;" | {{HP}} |
− | ! rowspan="2" style="vertical-align: middle;" data-sort-type="number" | Value | + | ! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 2px; border-style: none none solid none;" | Value |
|- | |- | ||
− | <th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid | + | <th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid solid;"> Quality<br/> </th><!-- |
-->{{#if: {{#var:stufftags}} | | -->{{#if: {{#var:stufftags}} | | ||
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Material </th> }} | <th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Material </th> }} | ||
Line 43: | Line 65: | ||
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Chance<ref name="Chance"/></th> | <th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Chance<ref name="Chance"/></th> | ||
}} | }} | ||
− | |- {{#vardefineecho:collapseQ|class="mw-collapsible" id="mw-customcollapsible- | + | |- {{#if: {{#var:stufftags}} | {{#vardefineecho:collapseQ|class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseQuality"}} | {{#vardefineecho:collapseQ|class="mw-collapsible" id="mw-customcollapsible-collapseQuality"}} }} |
− | + | ! style="text-align:left;" | {{#vardefineecho:quality|Awful}} <!-- | |
− | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{# | + | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}} }} [[{{#var:defaultM}}]] }} |
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Awful}} | | {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Awful}} | ||
| {{#var:trueAP}}% | | {{#var:trueAP}}% | ||
Line 85: | Line 107: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Poor | + | ! style="text-align:left;" | {{#vardefineecho:quality|Poor}}<!-- |
− | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | + | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} |
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Poor}} | | {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Poor}} | ||
| {{#var:trueAP}}% | | {{#var:trueAP}}% | ||
Line 126: | Line 148: | ||
}} | }} | ||
|- | |- | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Normal | + | ! style="text-align:left;" | {{#vardefineecho:quality|Normal}} <!-- |
− | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | + | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} |
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Normal}} | | {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Normal}} | ||
| {{#var:trueAP}}% | | {{#var:trueAP}}% | ||
Line 167: | Line 189: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Good | + | ! style="text-align:left;" | {{#vardefineecho:quality|Good}} <!-- |
− | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | + | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} |
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Good}} | | {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Good}} | ||
| {{#var:trueAP}}% | | {{#var:trueAP}}% | ||
Line 208: | Line 230: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Excellent | + | ! style="text-align:left;" | {{#vardefineecho:quality|Excellent}} <!-- |
− | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | + | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} |
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Excellent}} | | {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Excellent}} | ||
| {{#var:trueAP}}% | | {{#var:trueAP}}% | ||
Line 249: | Line 271: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Masterwork | + | ! style="text-align:left;" | {{#vardefineecho:quality|Masterwork}} <!-- |
− | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | + | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} |
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Masterwork}} | | {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Masterwork}} | ||
| {{#var:trueAP}}% | | {{#var:trueAP}}% | ||
Line 290: | Line 312: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Legendary | + | ! style="text-align:left;" | {{#vardefineecho:quality|Legendary}} <!-- |
− | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | + | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} |
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Legendary}} | | {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Legendary}} | ||
| {{#var:trueAP}}% | | {{#var:trueAP}}% |
Revision as of 15:40, 3 January 2023
Summary
This template is part of the following system generating tables for all weapons:
- Template:Weapon Stats Table - Usually the template that should be called on normal pages. Creates the headers.
- Template:Weapon Stats Table/Ranged - Creates the table for ranged combat.
- Template:Weapon Stats Table/Ranged/Row - Creates the rows for the ranged combat table.
- Template:Weapon Stats Table/Melee - Creates the table for melee attacks.
- Template:Weapon Stats Table/Melee/Row - Creates the rows for the melee attacks table.
- Template:True Melee DPS Calculator - Does a lot of the calculations and defines essential variables for the /Melee/Row template.
- Template:Weapon Stats Table/Melee/Row - Creates the rows for the melee attacks table.
- Template:Weapon Stats Table/Ranged - Creates the table for ranged combat.
Usage
If you want to use this template specifically you can specify the weapon as the first parameter:
{{Weapon Stats Table/Melee|Longsword}}
Otherwise it will use the name of the page it's placed on:
{{Weapon Stats Table/Melee}}
Examples
Longsword
A weapon with quality and with materials:
{{Weapon Stats Table/Melee|Longsword}}
Deactivated since the page would be to big.
Persona monosword
A weapon with quality but without materials:
{{Weapon Stats Table/Melee|Persona monosword}}
Feature | Toggle |
---|---|
Attacks | |
Quality |
Persona monosword | Handle (Blunt) | Point (Stab) | Edge (Cut) | HP | Value | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality |
DPS[1] | AP[1] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | ||
Awful | 11.63 | 57.6% | 9.6 | 1.6s | 14.4% | 6 | 25% | 21.6 | 1.6s | 72% | 13.5 | 38% | 21.6 | 1.6s | 72% | 13.5 | 38% | 100 | 1500 |
Poor | 13.08 | 64.8% | 10.8 | 1.6s | 16.2% | 6.75 | 25% | 24.3 | 1.6s | 81% | 15.19 | 38% | 24.3 | 1.6s | 81% | 15.19 | 38% | 100 | 2250 |
Normal | 14.53 | 72% | 12 | 1.6s | 18% | 7.5 | 25% | 27 | 1.6s | 90% | 16.88 | 38% | 27 | 1.6s | 90% | 16.88 | 38% | 100 | 3000 |
Good | 15.98 | 79.2% | 13.2 | 1.6s | 19.8% | 8.25 | 25% | 29.7 | 1.6s | 99% | 18.56 | 38% | 29.7 | 1.6s | 99% | 18.56 | 38% | 100 | 3500 |
Excellent | 17.44 | 86.4% | 14.4 | 1.6s | 21.6% | 9 | 25% | 32.4 | 1.6s | 108% | 20.25 | 38% | 32.4 | 1.6s | 108% | 20.25 | 38% | 100 | 4000 |
Masterwork | 24.47 | 130.5% | 17.4 | 1.6s | 26.1% | 10.88 | 0% | 39.15 | 1.6s | 130.5% | 24.47 | 50% | 39.15 | 1.6s | 130.5% | 24.47 | 50% | 100 | 5000 |
Legendary | 27.84 | 148.5% | 19.8 | 1.6s | 29.7% | 12.38 | 0% | 44.55 | 1.6s | 148.5% | 27.84 | 50% | 44.55 | 1.6s | 148.5% | 27.84 | 50% | 100 | 6000 |
For the full effects of qualities, see Quality.
- ↑ 1.0 1.1 Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox.
It may also change depending on the stats and the melee verbs available to the wielder - ↑ 2.0 2.1 2.2 Chance for attack to be selected, assuming only the weapon's attack verbs are considered. It may change depending on the melee verbs available to the wielder
Club
A weapon without quality but with materials:
{{Weapon Stats Table/Melee|Club}}
Feature | Toggle |
---|---|
Attacks | |
Quality |
For the full effects of qualities, see Quality.
- ↑ 1.0 1.1 Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox.
It may also change depending on the stats and the melee verbs available to the wielder - ↑ 2.0 2.1 Chance for attack to be selected, assuming only the weapon's attack verbs are considered. It may change depending on the melee verbs available to the wielder
Thrumbo horn
A weapon without quality and without materials:
{{Weapon Stats Table/Melee|Thrumbo horn}}
Feature | Toggle |
---|---|
Attacks | |
Quality |
Thrumbo horn | Point (Stab) | Point (Scratch) | Base (Blunt) | HP | Value | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality |
DPS[1] | AP[1] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | ||
Awful | 7.59 | 27.9% | 22.4 | 2.6s | 33.6% | 8.62 | 38% | 22.4 | 2.6s | 33.6% | 8.62 | 38% | 7.2 | 2s | 10.8% | 3.6 | 25% | 150 | 400 |
Poor | 8.54 | 31.39% | 25.2 | 2.6s | 37.8% | 9.69 | 38% | 25.2 | 2.6s | 37.8% | 9.69 | 38% | 8.1 | 2s | 12.15% | 4.05 | 25% | 150 | 600 |
Normal | 9.49 | 34.88% | 28 | 2.6s | 42% | 10.77 | 38% | 28 | 2.6s | 42% | 10.77 | 38% | 9 | 2s | 13.5% | 4.5 | 25% | 150 | 800 |
Good | 10.44 | 38.36% | 30.8 | 2.6s | 46.2% | 11.85 | 38% | 30.8 | 2.6s | 46.2% | 11.85 | 38% | 9.9 | 2s | 14.85% | 4.95 | 25% | 150 | 1000 |
Excellent | 11.39 | 41.85% | 33.6 | 2.6s | 50.4% | 12.92 | 38% | 33.6 | 2.6s | 50.4% | 12.92 | 38% | 10.8 | 2s | 16.2% | 5.4 | 25% | 150 | 1200 |
Masterwork | 13.76 | 50.57% | 40.6 | 2.6s | 60.9% | 15.62 | 38% | 40.6 | 2.6s | 60.9% | 15.62 | 38% | 13.05 | 2s | 19.575% | 6.53 | 25% | 150 | 2000 |
Legendary | 15.66 | 57.54% | 46.2 | 2.6s | 69.3% | 17.77 | 38% | 46.2 | 2.6s | 69.3% | 17.77 | 38% | 14.85 | 2s | 22.275% | 7.43 | 25% | 150 | 3800 |
For the full effects of qualities, see Quality.
- ↑ 1.0 1.1 Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox.
It may also change depending on the stats and the melee verbs available to the wielder - ↑ 2.0 2.1 2.2 Chance for attack to be selected, assuming only the weapon's attack verbs are considered. It may change depending on the melee verbs available to the wielder
The above documentation is transcluded from Template:Weapon Stats Table/Melee/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |