Difference between revisions of "Template:Weapon Stats Table/Melee"

From RimWorld Wiki
Jump to navigation Jump to search
(now shows materials as well)
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div><li style="display: inline-table;">{{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base|100}}|R}}}}
+
<includeonly><!--
{| {{STDT|sortable c_03 text-center}}
+
--><!-- VARIABLES --><!--
! {{#if: {{#vardefineecho:stufftags|{{lc:{{Q|{{#vardefineecho:name | {{{ 1 | {{PAGENAME}} }}} }}|Stuff Tags}} }} }}|colspan="2"}} style="vertical-align: middle;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}}
+
-->{{#vardefine:name      | {{{1|{{PAGENAME}} }}} }}<!-- Name of the weapon
! 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>]
+
-->{{#vardefine:stufftags  | {{lc: {{Q|{{#var:name}}|Stuff Tags}} }} }}<!-- The weapons stuff tags. Empty if weapon isn't stuffable
<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><!--
+
-->{{#vardefine:HP        | {{formatnum: {{Q|{{#var:name}}|Max Hit Points Base|100}} | R}} }}<!-- The weapons hit points. Default = 100
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
+
-->{{#vardefine:hasQuality | {{#ifeq: {{Q|{{#var:name}}|Has Quality}} | true | true}} }}<!-- True if the weapon has quality
<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>
+
-->
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
+
<!-- CONTROL PANEL -->
<th {{#var:collapseA}} style="border-style: none;" colspan="5">{{ucfirst:{{Q|{{#var:name}}|Attack 3 Part}}}} ([[Damage types#{{Q|{{#var:name}}|Attack 3 Type}}|{{Q|{{#var:name}}|Attack 3 Type}}]])</th>
+
{| {{STDT|any}}
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
+
! Feature !! Toggle
<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" | Value
 
 
|-
 
|-
<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><!--
+
{{Control Panel|Attacks{{#replace:{{#var:name}}|<nowiki> </nowiki>}}|label = Attacks}}
-->{{#if: {{#var:stufftags}} |
+
{{#if:{{#var:hasQuality}}|{{#if:{{#var:stufftags}}| {{Control Panel|Quality{{#replace:{{#var:name}}|<nowiki> </nowiki>}}|label = Quality}} }} }}
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Material </th> }}
+
<!--{{#if:{{#var:stufftags}} |
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> DPS<ref name="Actual">Note: This is the actual base average derived from the [[Weapons#Listed DPS on pawns|melee verb system]] updated in [[Version/1.1.2610|1.1.2610]], it may sometimes disagree with the listed value in the in-game infobox.<br/>It may also change depending on the stats and the melee verbs available to the wielder</ref> </th>
+
   {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] OR}}
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> AP<ref name="Actual"/> </th>
+
           {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}}  || [[Stuff Category::Fabric]]  OR}}
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Dam.</th>
+
           {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}}    || [[Stuff Category::Woody]]    OR}}
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Cool.</th>
+
           {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}}    || [[Stuff Category::Stony]]    OR}}
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> AP</th>
+
           {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} || [[Stuff Category::Metallic]]}}
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> DPS</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">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</ref></th><!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Dam.</th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Cool.</th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> AP</th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> DPS</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>
 
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Dam.</th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Cool.</th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> AP</th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> DPS</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>
 
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Dam.</th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Cool.</th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> AP</th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> DPS</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-collapseMeleeTableQuality"}}
 
! 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}}]] }}
 
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Awful}}
 
| {{#var:trueAP}}%
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td>
 
<td {{#var:collapseA}}> {{#vardefineecho:attack1Cooldown | {{Q|{{#var:name}}|Attack 1 Cooldown}} }}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack1SelectionChance}} round 2}} </td><!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td>
 
<td {{#var:collapseA}}> {{#vardefineecho:attack2Cooldown | {{Q|{{#var:name}}|Attack 2 Cooldown}} }}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack2SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td>
 
<td {{#var:collapseA}}> {{#vardefineecho:attack3Cooldown | {{Q|{{#var:name}}|Attack 3 Cooldown}} }}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack3SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td>
 
<td {{#var:collapseA}}> {{#vardefineecho:attack4Cooldown | {{Q|{{#var:name}}|Attack 4 Cooldown}} }}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}}
 
| {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}} }}|Max Hit Points Factor|1}}*{{#var:HP}} }}
 
| {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Awful}} {{Icon Small|silver}}
 
{{#if:{{#var:stufftags}} |
 
   {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}}
 
           {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}}  || [[Stuff Category::Fabric]]  [[Name::!{{#var:defaultM}}]] OR}}
 
           {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}}    || [[Stuff Category::Woody]]    [[Name::!{{#var:defaultM}}]] OR}}
 
           {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}}    || [[Stuff Category::Stony]]    [[Name::!{{#var:defaultM}}]] OR}}
 
           {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} || [[Stuff Category::Metallic]] [[Name::!{{#var:defaultM}}]]}}
 
 
     | format = template
 
     | format = template
     | template = Weapon Quality Table/Melee/Row
+
     | template = Control Panel
 
     | link = none
 
     | link = none
 
   }}
 
   }}
}}
+
}} -->
|- {{#var:collapseQ}}
+
|}
! 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>]}}<!--
+
<!-- MAIN TABLE -->
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
+
<div><li style="display: inline-table;">
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Poor}}
+
{| {{STDT|sortable c_03 text-center}}
| {{#var:trueAP}}%
+
! colspan="{{#expr: 2 {{#if:{{#var:stufftags}}|+1}} {{#if:{{#var:hasQuality}}|+1}} }}" style="vertical-align: middle; text-align: left;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}}
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td>
+
<th {{#vardefineecho:collapseA|class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseAttacks{{#replace:{{#var:name}}|<nowiki> </nowiki>}}"}} 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><!--
<td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack1SelectionChance}} round 2}} </td><!--
 
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td>
+
<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>
<td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td>
+
{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td>
+
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 3 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 3 Type}}|{{Q|{{#var:name}}|Attack 3 Type}}]]) </th>
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td>
+
{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack2SelectionChance}} round 2}} </td>
+
<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>
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
+
}} }} }}
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td>
+
! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: Left & right fist ([[Damage types#{{Q|Human|Attack 1 Type}}|{{Q|Human|Attack 1 Type}}]])
<td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td>
+
<!-- Human left & right fist attack merged sind for a baseline human they are identical. The human head and teeth attacks are irrelevant in all cases -->
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td>
+
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none none solid none;" | {{HP}}
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td>
+
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none solid solid none;" | Value
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack3SelectionChance}} round 2}} </td>
+
<tr>
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
+
{{#if:{{#var:hasQuality}}|<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid solid;"> Quality<br/> </th>}}<!--
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td>
+
-->{{#if: {{#var:stufftags}} |
<td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td>
+
<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:hasQuality}}|none|solid}};"> Material </th> }}
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td>
+
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:stufftags}}{{#var:hasQuality}}|none|solid}};"> DPS<ref name="Actual">Note: This is the actual base average derived from the [[Weapons#Listed DPS on pawns|melee verb system]] updated in [[Version/1.1.2610|1.1.2610]], it may sometimes disagree with the listed value in the in-game infobox.<br/>It may also change depending on the stats and the melee verbs available to the wielder if the weapon is wielded by some other than a baseline [[human]].</ref> </th>
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </td>
+
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP<ref name="Actual"/> </th>
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}}
+
{{#vardefineecho:attackHeaders|<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Dam. </th>
| {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}} }}|Max Hit Points Factor|1}}*{{#var:HP}} }}
+
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Cool. </th>
| {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Poor}} {{Icon Small|silver}}
+
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP </th>
{{#if:{{#var:stufftags}} |
+
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> DPS </th>
  {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}}
+
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Chance<ref name="Chance">Chance for attack to be selected, assuming the weapon is wielded by a baseline [[human]]. It may change depending on the melee verbs available to the wielder</ref> </th>}}<!--
          {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}}   || [[Stuff Category::Fabric]]   [[Name::!{{#var:defaultM}}]] OR}}
+
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | {{#var:attackHeaders}} }}<!--
          {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}}   || [[Stuff Category::Woody]]   [[Name::!{{#var:defaultM}}]] OR}}
+
-->{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | {{#var:attackHeaders}} }}<!--
          {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}}   || [[Stuff Category::Stony]]   [[Name::!{{#var:defaultM}}]] OR}}
+
-->{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | {{#var:attackHeaders}} }}<!--
          {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} || [[Stuff Category::Metallic]] [[Name::!{{#var:defaultM}}]]}}
+
-->{{#var:attackHeaders}}
    | format = template
+
</tr>
    | template = Weapon Quality Table/Melee/Row
+
{{#if:{{#var:hasQuality}} |
    | link = none
+
  {{#vardefine:qualitySort|0}}{{#vardefine:quality|Awful}}
 +
  {{#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]]   OR}}
 +
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 +
      | format = template
 +
      | template = Weapon Stats Table/Melee/Row
 +
      | link = none}}
 +
    | {{Weapon Stats Table/Melee/Row}}
 +
  }}
 +
  {{#vardefine:qualitySort|1}}{{#vardefine:quality|Poor}}
 +
  {{#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]]   OR}}
 +
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 +
      | format = template
 +
      | template = Weapon Stats Table/Melee/Row
 +
      | link = none}}
 +
    | {{Weapon Stats Table/Melee/Row}}
 
   }}
 
   }}
 
}}
 
}}
|-
+
{{#vardefine:qualitySort|2}}{{#vardefine: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}}
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
+
  | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]  OR}}
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Normal}}
+
            {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
| {{#var:trueAP}}%
+
            {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td>
+
            {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
<td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td>
+
            {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]   OR}}
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td>
+
            {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack1SelectionChance}} round 2}} </td><!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack2SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack3SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}}
 
| {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}} }}|Max Hit Points Factor|1}}*{{#var:HP}} }}
 
| {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Normal}} {{Icon Small|silver}}
 
{{#if:{{#var:stufftags}} |
 
  {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}}   || [[Stuff Category::Fabric]]  [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}}   || [[Stuff Category::Woody]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}}   || [[Stuff Category::Stony]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} || [[Stuff Category::Metallic]] [[Name::!{{#var:defaultM}}]]}}
 
 
     | format = template
 
     | format = template
     | template = Weapon Quality Table/Melee/Row
+
     | template = Weapon Stats Table/Melee/Row
 
     | link = none
 
     | link = none
 
   }}
 
   }}
}}
+
  | {{Weapon Stats Table/Melee/Row}}
|- {{#var:collapseQ}}
+
}}<!--
! 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:hasQuality}} |
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
+
  {{#vardefine:qualitySort|3}}{{#vardefine:quality|Good}}
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Good}}
+
  {{#if: {{#var:stufftags}}
| {{#var:trueAP}}%
+
    | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]  OR}}
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
<td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]   OR}}
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack1SelectionChance}} round 2}} </td><!--
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
+
      | format = template
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td>
+
      | template = Weapon Stats Table/Melee/Row
<td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td>
+
      | link = none}}
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td>
+
    | {{Weapon Stats Table/Melee/Row}}
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack2SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack3SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}}
 
| {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}} }}|Max Hit Points Factor|1}}*{{#var:HP}} }}
 
| {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Good}} {{Icon Small|silver }}
 
{{#if:{{#var:stufftags}} |
 
  {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}}   || [[Stuff Category::Fabric]]  [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}}   || [[Stuff Category::Woody]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}}   || [[Stuff Category::Stony]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} || [[Stuff Category::Metallic]] [[Name::!{{#var:defaultM}}]]}}
 
    | format = template
 
    | template = Weapon Quality Table/Melee/Row
 
    | link = none
 
 
   }}
 
   }}
}}
+
  {{#vardefine:qualitySort|4}}{{#vardefine:quality|Excellent}}
|- {{#var:collapseQ}}
+
  {{#if: {{#var:stufftags}}
! 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>]}}<!--
+
    | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]  OR}}
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Excellent}}
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
| {{#var:trueAP}}%
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]   OR}}
<td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td>
+
      | format = template
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td>
+
      | template = Weapon Stats Table/Melee/Row
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack1SelectionChance}} round 2}} </td><!--
+
      | link = none}}
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
+
    | {{Weapon Stats Table/Melee/Row}}
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack2SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack3SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}}
 
| {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}} }}|Max Hit Points Factor|1}}*{{#var:HP}} }}
 
| {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Excellent}} {{Icon Small|silver}}
 
{{#if:{{#var:stufftags}} |
 
  {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}}   || [[Stuff Category::Fabric]]  [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}}   || [[Stuff Category::Woody]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}}   || [[Stuff Category::Stony]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} || [[Stuff Category::Metallic]] [[Name::!{{#var:defaultM}}]]}}
 
    | format = template
 
    | template = Weapon Quality Table/Melee/Row
 
    | link = none
 
 
   }}
 
   }}
}}
+
  {{#vardefine:qualitySort|5}}{{#vardefine:quality|Masterwork}}
|- {{#var:collapseQ}}
+
  {{#if: {{#var:stufftags}}
! 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>]}}<!--
+
    | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]  OR}}
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Masterwork}}
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
| {{#var:trueAP}}%
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]   OR}}
<td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td>
+
      | format = template
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td>
+
      | template = Weapon Stats Table/Melee/Row
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack1SelectionChance}} round 2}} </td><!--
+
      | link = none}}
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
+
    | {{Weapon Stats Table/Melee/Row}}
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack2SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack3SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}}
 
| {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}} }}|Max Hit Points Factor|1}}*{{#var:HP}} }}
 
| {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Masterwork}} {{Icon Small|silver}}
 
{{#if:{{#var:stufftags}} |
 
  {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}}   || [[Stuff Category::Fabric]]  [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}}   || [[Stuff Category::Woody]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}}   || [[Stuff Category::Stony]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} || [[Stuff Category::Metallic]] [[Name::!{{#var:defaultM}}]]}}
 
    | format = template
 
    | template = Weapon Quality Table/Melee/Row
 
    | link = none
 
 
   }}
 
   }}
}}
+
  {{#vardefine:qualitySort|6}}{{#vardefine:quality|Legendary}}
|- {{#var:collapseQ}}
+
  {{#if: {{#var:stufftags}}
! 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>]}}<!--
+
    | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]  OR}}
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Legendary}}
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
| {{#var:trueAP}}%
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]   OR}}
<td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td>
+
      | format = template
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td>
+
      | template = Weapon Stats Table/Melee/Row
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack1SelectionChance}} round 2}} </td><!--
+
      | link = none}}
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
+
    | {{Weapon Stats Table/Melee/Row}}
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack2SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack3SelectionChance}} round 2}} </td>
 
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
 
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td>
 
<td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td>
 
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </td>
 
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}}
 
| {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Max Hit Points Factor|1}}*{{#var:HP}} }}
 
| {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Legendary}} {{Icon Small|silver}}
 
{{#if:{{#var:stufftags}} |
 
  {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric|}}   || [[Stuff Category::Fabric]]  [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|woody|}}   || [[Stuff Category::Woody]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|stony|}}   || [[Stuff Category::Stony]]    [[Name::!{{#var:defaultM}}]] OR}}
 
          {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic|}} || [[Stuff Category::Metallic]] [[Name::!{{#var:defaultM}}]]}}
 
    | format = template
 
    | template = Weapon Quality Table/Melee/Row
 
    | link = none
 
 
   }}
 
   }}
 
}}
 
}}
 
|}
 
|}
<sup>For the full effects of qualities, see [[Quality]].</sup>
+
{{#if: {{#var:hasQuality}} | <sup>For the full effects of qualities, see [[Quality]].</sup>}}
 
</li></div><references/></includeonly><noinclude>
 
</li></div><references/></includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:51, 15 November 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

Summary[edit]

This template is part of the following system generating tables for all weapons:

Usage[edit]

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[edit]

Longsword[edit]


A weapon with quality and with materials:

{{Weapon Stats Table/Melee|Longsword}}

Deactivated since the page would be to big.

Persona monosword[edit]


A weapon with quality but without materials:

{{Weapon Stats Table/Melee|Persona monosword}}
Feature Toggle
AttacksRitual Quality Check Off.pngRitual Quality Check On.png
  • Persona monosword Persona monosword Handle (Blunt) Point (Stab) Edge (Cut) Human: Left & right fist (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] 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 37.5% 21.6 1.6s 72% 13.5 37.5% 8.2 2s 12% 4.1 0% 100 1500 Silver
    Poor 13.08 64.8% 10.8 1.6s 16.2% 6.75 25% 24.3 1.6s 81% 15.19 37.5% 24.3 1.6s 81% 15.19 37.5% 8.2 2s 12% 4.1 0% 100 2250 Silver
    Normal 14.53 72% 12 1.6s 18% 7.5 25% 27 1.6s 90% 16.88 37.5% 27 1.6s 90% 16.88 37.5% 8.2 2s 12% 4.1 0% 100 3000 Silver
    Good 15.98 79.2% 13.2 1.6s 19.8% 8.25 25% 29.7 1.6s 99% 18.56 37.5% 29.7 1.6s 99% 18.56 37.5% 8.2 2s 12% 4.1 0% 100 3500 Silver
    Excellent 17.44 86.4% 14.4 1.6s 21.6% 9 25% 32.4 1.6s 108% 20.25 37.5% 32.4 1.6s 108% 20.25 37.5% 8.2 2s 12% 4.1 0% 100 4000 Silver
    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% 8.2 2s 12% 4.1 0% 100 5000 Silver
    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% 8.2 2s 12% 4.1 0% 100 6000 Silver

    For the full effects of qualities, see Quality.

    1. 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 if the weapon is wielded by some other than a baseline human.
    2. Chance for attack to be selected, assuming the weapon is wielded by a baseline human. It may change depending on the melee verbs available to the wielder

    Club[edit]


    A weapon without quality but with materials:

    {{Weapon Stats Table/Melee|Club}}
    Feature Toggle
    AttacksRitual Quality Check Off.pngRitual Quality Check On.png
  • Club Club Handle (Poke) Head (Blunt) Human: Left & right fist (Blunt) HP Value
    Material DPS[1] AP[1] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    Bioferrite Bioferrite Content added by the Anomaly DLC 5.75 17.15% 8.1 2s 11.7% 4.05 8.33% 12.6 2s 18.9% 6.3 75% 8.2 2s 12% 4.1 8.33% 200 41 Silver
    Gold Gold 6.31 18.83% 9 2s 13% 4.5 8.33% 14 2s 21% 7 75% 8.2 2s 12% 4.1 8.33% 60 4005 Silver
    Granite blocks Granite blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 170 42 Silver
    Limestone blocks Limestone blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 155 42 Silver
    Marble blocks Marble blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 120 41 Silver
    Plasteel Plasteel 6.9 17.15% 8.1 1.6s 11.7% 5.06 8.33% 12.6 1.6s 18.9% 7.88 75% 8.2 2s 12% 4.1 8.33% 280 370 Silver
    Sandstone blocks Sandstone blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 140 41 Silver
    Silver Silver 6.31 18.83% 9 2s 13% 4.5 8.33% 14 2s 21% 7 75% 8.2 2s 12% 4.1 8.33% 70 405 Silver
    Slate blocks Slate blocks 5.05 18.83% 9 2.6s 13% 3.46 8.33% 14 2.6s 21% 5.38 75% 8.2 2s 12% 4.1 8.33% 130 42 Silver
    Steel Steel 6.31 18.83% 9 2s 13% 4.5 8.33% 14 2s 21% 7 75% 8.2 2s 12% 4.1 8.33% 100 80 Silver
    Jade Jade 7.3 27.25% 13.5 2.6s 19.5% 5.19 8.33% 21 2.6s 31.5% 8.08 75% 8.2 2s 12% 4.1 8.33% 50 205 Silver
    Uranium Uranium 8.42 27.25% 13.5 2.2s 19.5% 6.14 8.33% 21 2.2s 31.5% 9.55 75% 8.2 2s 12% 4.1 8.33% 250 250 Silver
    Wood Wood 5.75 17.15% 8.1 2s 11.7% 4.05 8.33% 12.6 2s 18.9% 6.3 75% 8.2 2s 12% 4.1 8.33% 65 51 Silver
    1. 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 if the weapon is wielded by some other than a baseline human.
    2. Chance for attack to be selected, assuming the weapon is wielded by a baseline human. It may change depending on the melee verbs available to the wielder

    Thrumbo horn[edit]


    A weapon without quality and without materials:

    {{Weapon Stats Table/Melee|Thrumbo horn}}
    Feature Toggle
    AttacksRitual Quality Check Off.pngRitual Quality Check On.png
  • Thrumbo horn Thrumbo horn Point (Stab) Point (Scratch) Base (Blunt) Human: Left & right fist (Blunt) HP Value
    DPS[1] AP[1] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    9.44 34.63% 28 2.6s 42% 10.77 37.5% 28 2.6s 42% 10.77 37.5% 9 2s 13.5% 4.5 8.33% 8.2 2s 12% 4.1 8.33% 150 800 Silver
    1. 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 if the weapon is wielded by some other than a baseline human.
    2. Chance for attack to be selected, assuming the weapon is wielded by a baseline human. It may change depending on the melee verbs available to the wielder