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

From RimWorld Wiki
Jump to navigation Jump to search
(merged columns for human left & right fist attacks)
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div><li style="display: inline-table;">
+
<includeonly><!--
{{#vardefine:stufftags|{{lc:{{Q|{{#vardefineecho:name | {{{ 1 | {{PAGENAME}} }}} }}|Stuff Tags}} }} }}<!--
+
--><!-- VARIABLES --><!--
-->{{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base|100}}|R}}}}<!--
+
-->{{#vardefine:name      | {{{1|{{PAGENAME}} }}} }}<!-- Name of the weapon
-->{{#vardefine:defaultM|{{{2|Steel}}} }}
+
-->{{#vardefine:stufftags  | {{lc: {{Q|{{#var:name}}|Stuff Tags}} }} }}<!-- The weapons stuff tags. Empty if weapon isn't stuffable
{| class="wikitable"
+
-->{{#vardefine:HP         | {{formatnum: {{Q|{{#var:name}}|Max Hit Points Base|100}} | R}} }}<!-- The weapons hit points. Default = 100
|+ <!--Select which features you'd like to compare-->
+
-->{{#vardefine:hasQuality | {{#ifeq: {{Q|{{#var:name}}|Has Quality}} | true | true}} }}<!-- True if the weapon has quality
|-
+
-->
 +
<!-- CONTROL PANEL -->
 +
{| {{STDT|any}}
 
! Feature !! Toggle
 
! Feature !! Toggle
 
|-
 
|-
{{Control Panel|Attacks}}
+
{{Control Panel|Attacks{{#replace:{{#var:name}}|<nowiki> </nowiki>}}|label = Attacks}}
{{#if:{{#var:stufftags}}|{{Control Panel|Quality}}|{{Control Panel|Quality|invert=yes}}}}
+
{{#if:{{#var:hasQuality}}|{{#if:{{#var:stufftags}}| {{Control Panel|Quality{{#replace:{{#var:name}}|<nowiki> </nowiki>}}|label = Quality}} }} }}
 
<!--{{#if:{{#var:stufftags}} |
 
<!--{{#if:{{#var:stufftags}} |
 
   {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] OR}}
 
   {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] OR}}
Line 22: Line 24:
 
}} -->
 
}} -->
 
|}
 
|}
 
+
<!-- MAIN TABLE -->
 +
<div><li style="display: inline-table;">
 
{| {{STDT|sortable c_03 text-center}}
 
{| {{STDT|sortable c_03 text-center}}
! {{#if:{{#var:stufftags}}|colspan="4"|colspan="3"}} style="vertical-align: middle; text-align: left;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}}
+
! 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}}
<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><!--
+
<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><!--
 
-->{{#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>
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
+
{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |
<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>
+
<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>
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
+
{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
<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" style="border:#a67d47 2px; border-style: none none solid none;" | {{HP}}
+
! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: Left & rigth fist ([[Damage types#{{Q|Human|Attack 1 Type}}|{{Q|Human|Attack 1 Type}}]])
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 2px; border-style: none none solid none;" | Value
+
<!-- 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 -->
|-
+
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none none solid none;" | {{HP}}
<th style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid solid;"> Quality<br/> </th><!--
+
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none solid solid none;" | Value
 +
<tr>
 +
{{#if:{{#var:hasQuality}}|<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid solid;"> Quality<br/> </th>}}<!--
 
-->{{#if: {{#var:stufftags}} |
 
-->{{#if: {{#var:stufftags}} |
<th style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Material </th> }}
+
<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:hasQuality}}|none|solid}};"> Material </th> }}
<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>
+
<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>
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> AP<ref name="Actual"/> </th>
+
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP<ref name="Actual"/> </th>
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Dam.</th>
+
{{#vardefineecho:attackHeaders|<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; 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 1px; 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 1px; 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 1px; 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><!--
+
<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>}}<!--
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
+
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | {{#var:attackHeaders}} }}<!--
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Dam.</th>
+
-->{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | {{#var:attackHeaders}} }}<!--
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Cool.</th>
+
-->{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | {{#var:attackHeaders}} }}<!--
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> AP</th>
+
-->{{#var:attackHeaders}}
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> DPS</th>
+
</tr>
<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:{{#var:hasQuality}} |
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} |  
+
  {{#vardefine:qualitySort|0}}{{#vardefine:quality|Awful}}
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Dam.</th>
+
  {{#if: {{#var:stufftags}}
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Cool.</th>
+
    | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}  || [[Stuff Category::Leathery]]  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}}|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;"> DPS</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;"> Chance<ref name="Chance"/></th>
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]      OR}}
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} |
+
              {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  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}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Cool.</th>
+
      | format = template
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> AP</th>
+
      | template = Weapon Stats Table/Melee/Row
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> DPS</th>
+
      | link = none}}
<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>
+
    | {{Weapon Stats Table/Melee/Row}}
}}
 
|- {{#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;" data-sort-value="{{#vardefineecho:qualitySort|0}}" | {{#vardefineecho:quality|Awful}} <!--
 
-->{{#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}}
 
| {{#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
 
    | template = Weapon Quality Table/Melee/Row
 
    | link = none
 
 
   }}
 
   }}
}}
+
  {{#vardefine:qualitySort|1}}{{#vardefine:quality|Poor}}
|- {{#var:collapseQ}}
+
  {{#if: {{#var:stufftags}}
! style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|1}}"| {{#vardefineecho:quality|Poor}}<!--
+
    | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]  OR}}
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{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}}}}|Poor}}
+
              {{#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}}}}|Poor}} {{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|2}}{{#vardefine:quality|Normal}}
! style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|2}}"| {{#vardefineecho:quality|Normal}} <!--
+
{{#if:{{#var:stufftags}}
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{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;" data-sort-value="{{#vardefineecho:qualitySort|3}}"| {{#vardefineecho:quality|Good}} <!--
+
-->{{#if:{{#var:hasQuality}} |
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{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;" data-sort-value="{{#vardefineecho:qualitySort|4}}"| {{#vardefineecho:quality|Excellent}} <!--
+
    | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]  OR}}
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{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;" data-sort-value="{{#vardefineecho:qualitySort|5}}"| {{#vardefineecho:quality|Masterwork}} <!--
+
    | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]  OR}}
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{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;" data-sort-value="{{#vardefineecho:qualitySort|6}}"| {{#vardefineecho:quality|Legendary}} <!--
+
    | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]  OR}}
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{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 17:01, 14 April 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 & rigth 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 & rigth 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 & rigth 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