Difference between revisions of "Template:Weapon Stats Table/Melee"
Jump to navigation
Jump to search
(vardefine:stufftags) |
Tag: Undo |
||
Line 1: | Line 1: | ||
− | <includeonly><div><li style="display: inline-table;"> | + | <includeonly><div><li style="display: inline-table;">{{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base|100}}|R}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base|100}}|R}}}} | ||
{| {{STDT|sortable c_03 text-center}} | {| {{STDT|sortable c_03 text-center}} | ||
! {{#if: {{#vardefineecho:stufftags|{{lc:{{Q|{{#vardefineecho:name | {{{ 1 | {{PAGENAME}} }}} }}|Stuff Tags}} }} }}|colspan="2"}} style="vertical-align: middle;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}} | ! {{#if: {{#vardefineecho:stufftags|{{lc:{{Q|{{#vardefineecho:name | {{{ 1 | {{PAGENAME}} }}} }}|Stuff Tags}} }} }}|colspan="2"}} style="vertical-align: middle;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}} | ||
− | ! colspan="2" style="vertical-align: middle;" | | + | ! colspan="2" style="vertical-align: middle;" | [<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTable" id="mw-customcollapsible-collapseMeleeTable">Expand attacks</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTable" id="mw-customcollapsible-collapseMeleeTable">Collapse attacks</span>] |
<th {{#vardefineecho:collapseA|class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseMeleeTable"}} 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><!-- | <th {{#vardefineecho:collapseA|class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseMeleeTable"}} 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}} | | ||
Line 40: | Line 14: | ||
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" | Value | ! rowspan="2" style="vertical-align: middle;" data-sort-type="number" | Value | ||
|- | |- | ||
− | <th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Quality<br/> </th><!-- | + | <th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Quality<br/>[<span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTableQuality" id="mw-customcollapsible-collapseMeleeTableQuality">Expand quality</span><span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTableQuality" id="mw-customcollapsible-collapseMeleeTableQuality">Collapse quality</span>] </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 70: | Line 44: | ||
}} | }} | ||
|- {{#vardefineecho:collapseQ|class="mw-collapsible" id="mw-customcollapsible-collapseMeleeTableQuality"}} | |- {{#vardefineecho:collapseQ|class="mw-collapsible" id="mw-customcollapsible-collapseMeleeTableQuality"}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Awful}} <!-- | + | ! style="text-align:left;" | {{#vardefineecho:quality|Awful}} {{#if:{{#var:stufftags}}|[<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTableAwful" {{#vardefineecho:collapseID|id="mw-customcollapsible-collapseMeleeTableAwful"}}>Expand material</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTableAwful" {{#var:collapseID}}>Collapse material</span>]}}<!-- |
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#vardefineecho:defaultM|{{{2|Steel}}} }} }} [[{{#var:defaultM}}]] }} | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#vardefineecho:defaultM|{{{2|Steel}}} }} }} [[{{#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}} | ||
Line 111: | Line 85: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Poor}}<!-- | + | ! style="text-align:left;" | {{#vardefineecho:quality|Poor}} {{#if:{{#var:stufftags}}|[<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTablePoor" {{#vardefineecho:collapseID|id="mw-customcollapsible-collapseMeleeTablePoor"}}>Expand material</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTablePoor" {{#var:collapseID}}>Collapse material</span>]}}<!-- |
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{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}} | ||
Line 152: | Line 126: | ||
}} | }} | ||
|- | |- | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Normal}} <!-- | + | ! style="text-align:left;" | {{#vardefineecho:quality|Normal}} {{#if:{{#var:stufftags}}|[<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTableNormal" {{#vardefineecho:collapseID|id="mw-customcollapsible-collapseMeleeTableNormal"}}>Expand material</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTableNormal" {{#var:collapseID}}>Collapse material</span>]}}<!-- |
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{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}} | ||
Line 193: | Line 167: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Good}} <!-- | + | ! style="text-align:left;" | {{#vardefineecho:quality|Good}} {{#if:{{#var:stufftags}}|[<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTableGood" {{#vardefineecho:collapseID|id="mw-customcollapsible-collapseMeleeTableGood"}}>Expand material</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTableGood" {{#var:collapseID}}>Collapse material</span>]}}<!-- |
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{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}} | ||
Line 234: | Line 208: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Excellent}} <!-- | + | ! style="text-align:left;" | {{#vardefineecho:quality|Excellent}} {{#if:{{#var:stufftags}}|[<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTableExcellent" {{#vardefineecho:collapseID|id="mw-customcollapsible-collapseMeleeTableExcellent"}}>Expand material</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTableExcellent" {{#var:collapseID}}>Collapse material</span>]}}<!-- |
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{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}} | ||
Line 275: | Line 249: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Masterwork}} <!-- | + | ! style="text-align:left;" | {{#vardefineecho:quality|Masterwork}} {{#if:{{#var:stufftags}}|[<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTableMasterwork" {{#vardefineecho:collapseID|id="mw-customcollapsible-collapseMeleeTableMasterwork"}}>Expand material</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTableMasterwork" {{#var:collapseID}}>Collapse material</span>]}}<!-- |
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{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}} | ||
Line 316: | Line 290: | ||
}} | }} | ||
|- {{#var:collapseQ}} | |- {{#var:collapseQ}} | ||
− | ! style="text-align:left;" | {{#vardefineecho:quality|Legendary}} <!-- | + | ! style="text-align:left;" | {{#vardefineecho:quality|Legendary}} {{#if:{{#var:stufftags}}|[<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTableLegendary" {{#vardefineecho:collapseID|id="mw-customcollapsible-collapseMeleeTableLegendary"}}>Expand material</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTableLegendary" {{#var:collapseID}}>Collapse material</span>]}}<!-- |
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }} | -->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{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}} |
Revision as of 13:28, 2 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}}
Persona monosword | [Expand attacksCollapse attacks] | Handle (Blunt) | Point (Stab) | Edge (Cut) | HP | Value | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality [Expand qualityCollapse 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}}
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}}
Thrumbo horn | [Expand attacksCollapse attacks] | Point (Stab) | Point (Scratch) | Base (Blunt) | HP | Value | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality [Expand qualityCollapse 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% | 100 | 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% | 100 | 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% | 100 | 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% | 100 | 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% | 100 | 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% | 100 | 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% | 100 | 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. |