Difference between revisions of "Template:Weapon Stats Table/Melee"
(now works for weapons without quality (hardcoded list, but can easily be turned in a parameter). still need to get rid of the quality column) |
|||
Line 1: | Line 1: | ||
− | <includeonly><div><li style="display: inline-table;"> | + | <includeonly><div><li style="display: inline-table;"><!-- |
− | {{#vardefine: | + | --><!-- VARIABLES --><!-- |
− | -->{{#vardefine:HP|{{formatnum:{{Q|{{#var:name}}|Max Hit Points Base|100}}|R}}}}<!-- | + | -->{{#vardefine:name | {{{1|{{PAGENAME}} }}} }}<!-- Name of the weapon |
− | -->{{#vardefine: | + | -->{{#vardefine:defaultM | {{{2|Steel}}} }}<!-- Default material. Default = 100, since it's weapon modifiers are all 1. |
+ | -->{{#vardefine:stufftags | {{lc: {{Q|{{#var:name}}|Stuff Tags}} }} }}<!-- The weapons stuff tags. Empty if weapon isn't stuffable | ||
+ | -->{{#vardefine:HP | {{formatnum: {{Q|{{#var:name}}|Max Hit Points Base|100}} | R}} }}<!-- The weapons hit points. Default = 100 | ||
+ | -->{{#vardefine:hasQuality | {{#switch: {{#var:name}} | Beer | Club | Elephant tusk | Thrumbo horn | Wood = | #default = true}} }}<!-- True if the weapon has quality | ||
+ | --> | ||
+ | <!-- CONTROL PANEL --> | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ <!--Select which features you'd like to compare--> | |+ <!--Select which features you'd like to compare--> | ||
Line 9: | Line 14: | ||
|- | |- | ||
{{Control Panel|Attacks}} | {{Control Panel|Attacks}} | ||
− | {{#if:{{#var:stufftags}}|{{Control Panel|Quality}}|{{Control Panel|Quality|invert=yes}}}} | + | {{#if:{{#var:hasQuality}}|{{#if:{{#var:stufftags}}|{{Control Panel|Quality}}|{{Control Panel|Quality|invert=yes}} }} }} |
<!--{{#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 27: | ||
}} --> | }} --> | ||
|} | |} | ||
− | + | <!-- MAIN 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}} | ! {{#if:{{#var:stufftags}}|colspan="4"|colspan="3"}} style="vertical-align: middle; text-align: left;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}} | ||
Line 41: | Line 46: | ||
<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 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 2px; border-style: none none solid none;"> AP<ref name="Actual"/> </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 {{#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;"> 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;"> 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;"> 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;"> 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 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}} | | -->{{#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;"> 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;"> 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;"> 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;"> 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> | + | <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}} | | + | }}{{#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;"> 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;"> 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;"> 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;"> 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> | + | <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}} | | + | }}{{#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;"> 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;"> 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;"> 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;"> 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> | + | <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}} | |
− | + | <tr {{#if: {{#var:stufftags}} | {{#vardefineecho:collapseQ|class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseQuality"}} | {{#vardefineecho:collapseQ|class="mw-collapsible" id="mw-customcollapsible-collapseQuality"}} }}> | |
− | -->{{#if: {{#var:stufftags}} | | + | <th style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|0}}"> {{#vardefineecho:quality|Awful}} </th><!-- |
− | + | -->{{#if: {{#var:stufftags}} | <th style="text-align:left;" data-sort-value="{{#var:defaultM}}"> {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] </th> }} | |
− | + | <td> {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} </td> | |
+ | <td> {{#var:trueAP}}% </td> | ||
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{# | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | ||
Line 77: | Line 83: | ||
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | -->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{# | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | ||
Line 83: | Line 89: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{# | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | ||
Line 89: | Line 95: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{# | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack4Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </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>}} | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}} | ||
− | + | <td> {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Max Hit Points Factor|1}}*{{#var:HP}} }} </td> | |
− | + | <td> {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}} }}|{{#var:quality}} }} {{Icon Small|silver}} </td> | |
{{#if:{{#var:stufftags}} | | {{#if:{{#var:stufftags}} | | ||
{{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | ||
Line 106: | Line 112: | ||
}} | }} | ||
}} | }} | ||
− | + | </tr> | |
− | + | <tr {{#var:collapseQ}}> | |
− | -->{{#if: {{#var:stufftags}} | | + | <th style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|1}}"> {{#vardefineecho:quality|Poor}} </th><!-- |
− | + | -->{{#if: {{#var:stufftags}} | <th style="text-align:left;" data-sort-value="{{#var:defaultM}}"> {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] </th> }} | |
− | + | <td> {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} </td> | |
+ | <td> {{#var:trueAP}}% </td> | ||
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | ||
Line 118: | Line 125: | ||
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | -->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | ||
Line 124: | Line 131: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | ||
Line 130: | Line 137: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack4Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </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>}} | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}} | ||
− | + | <td> {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Max Hit Points Factor|1}}*{{#var:HP}} }} </td> | |
− | + | <td> {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} {{Icon Small|silver}} </td> | |
{{#if:{{#var:stufftags}} | | {{#if:{{#var:stufftags}} | | ||
{{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | ||
Line 147: | Line 154: | ||
}} | }} | ||
}} | }} | ||
− | + | </tr>}} | |
− | + | <tr> | |
− | -->{{#if: {{#var:stufftags}} | | + | <th style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|2}}"> {{#vardefineecho:quality|Normal}} </th><!-- |
− | + | -->{{#if: {{#var:stufftags}} | <th style="text-align:left;" data-sort-value="{{#var:defaultM}}"> {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] </th> }} | |
− | + | <td> {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} </td> | |
+ | <td> {{#var:trueAP}}% </td> | ||
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | ||
Line 159: | Line 167: | ||
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | -->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | ||
Line 165: | Line 173: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | ||
Line 171: | Line 179: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack4Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </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>}} | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}} | ||
− | + | <td> {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Max Hit Points Factor|1}}*{{#var:HP}} }} </td> | |
− | + | <td> {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} {{Icon Small|silver}} </td> | |
{{#if:{{#var:stufftags}} | | {{#if:{{#var:stufftags}} | | ||
{{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | ||
Line 188: | Line 196: | ||
}} | }} | ||
}} | }} | ||
− | | | + | </tr><!-- |
− | + | -->{{#if:{{#var:hasQuality}} | | |
− | -->{{#if: {{#var:stufftags}} | | + | <tr {{#var:collapseQ}}> |
− | + | <th style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|3}}"> {{#vardefineecho:quality|Good}} </th><!-- | |
− | + | -->{{#if: {{#var:stufftags}} | <th style="text-align:left;" data-sort-value="{{#var:defaultM}}"> {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] </th> }} | |
+ | <td> {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} </td> | ||
+ | <td> {{#var:trueAP}}% </td> | ||
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | ||
Line 200: | Line 210: | ||
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | -->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | ||
Line 206: | Line 216: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | ||
Line 212: | Line 222: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack4Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </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>}} | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}} | ||
− | + | <td> {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Max Hit Points Factor|1}}*{{#var:HP}} }} </td> | |
− | + | <td> {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} {{Icon Small|silver}} </td> | |
{{#if:{{#var:stufftags}} | | {{#if:{{#var:stufftags}} | | ||
{{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | ||
Line 229: | Line 239: | ||
}} | }} | ||
}} | }} | ||
− | + | </tr> | |
− | + | <tr {{#var:collapseQ}}> | |
− | -->{{#if: {{#var:stufftags}} | | + | <th style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|4}}"> {{#vardefineecho:quality|Excellent}} </th><!-- |
− | + | -->{{#if: {{#var:stufftags}} | <th style="text-align:left;" data-sort-value="{{#var:defaultM}}"> {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] </th> }} | |
− | + | <td> {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} </td> | |
+ | <td> {{#var:trueAP}}% </td> | ||
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | ||
Line 241: | Line 252: | ||
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | -->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | ||
Line 247: | Line 258: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | ||
Line 253: | Line 264: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack4Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </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>}} | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}} | ||
− | + | <td> {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Max Hit Points Factor|1}}*{{#var:HP}} }} </td> | |
− | + | <td> {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} {{Icon Small|silver}} </td> | |
{{#if:{{#var:stufftags}} | | {{#if:{{#var:stufftags}} | | ||
{{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | ||
Line 270: | Line 281: | ||
}} | }} | ||
}} | }} | ||
− | + | </tr> | |
− | + | <tr {{#var:collapseQ}}> | |
− | -->{{#if: {{#var:stufftags}} | | + | <th style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|5}}"> {{#vardefineecho:quality|Masterwork}} </th><!-- |
− | + | -->{{#if: {{#var:stufftags}} | <th style="text-align:left;" data-sort-value="{{#var:defaultM}}"> {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] </th> }} | |
− | + | <td> {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} </td> | |
+ | <td> {{#var:trueAP}}% </td> | ||
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | ||
Line 282: | Line 294: | ||
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | -->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | ||
Line 288: | Line 300: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | ||
Line 294: | Line 306: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack4Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </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>}} | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}} | ||
− | + | <td> {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Max Hit Points Factor|1}}*{{#var:HP}} }} </td> | |
− | + | <td> {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} {{Icon Small|silver}} </td> | |
{{#if:{{#var:stufftags}} | | {{#if:{{#var:stufftags}} | | ||
{{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | ||
Line 311: | Line 323: | ||
}} | }} | ||
}} | }} | ||
− | + | </tr> | |
− | + | <tr {{#var:collapseQ}}> | |
− | -->{{#if: {{#var:stufftags}} | | + | <th style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|6}}"> {{#vardefineecho:quality|Legendary}} </th><!-- |
− | + | -->{{#if: {{#var:stufftags}} | <th style="text-align:left;" data-sort-value="{{#var:defaultM}}"> {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] </th> }} | |
− | + | <td> {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} </td> | |
+ | <td> {{#var:trueAP}}% </td> | ||
<td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none none none solid;"> {{#var:attack1Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack1Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack1Damage}}/{{#var:attack1Cooldown}} round 2}} </td> | ||
Line 323: | Line 336: | ||
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | -->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack2Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack2Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack2Damage}}/{{#var:attack2Cooldown}} round 2}} </td> | ||
Line 329: | Line 342: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack3Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack3Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack3Damage}}/{{#var:attack3Cooldown}} round 2}} </td> | ||
Line 335: | Line 348: | ||
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | }}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | | ||
<td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | <td {{#var:collapseA}}> {{#var:attack4Damage}} </td> | ||
− | <td {{#var:collapseA}}> {{#var:attack4Cooldown}}s </td> | + | <td {{#var:collapseA}}> {{#expr: {{#var:attack4Cooldown}} round 2}}s </td> |
<td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | <td {{#var:collapseA}}> {{#expr: {{#var:attack4AP}} }}% </td> | ||
<td {{#var:collapseA}}> {{#expr: {{#var:attack4Damage}}/{{#var:attack4Cooldown}} round 2}} </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>}} | <td {{#var:collapseA}} style="border:#d09c59 2px; border-style: none solid none none;"> {{%|{{#var:attack4SelectionChance}} round 2}} </td>}} | ||
− | + | <td> {{#expr:{{Q|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Max Hit Points Factor|1}}*{{#var:HP}} }} </td> | |
− | + | <td> {{Market Value Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|{{#var:quality}} }} {{Icon Small|silver}} </td> | |
{{#if:{{#var:stufftags}} | | {{#if:{{#var:stufftags}} | | ||
{{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery|}} || [[Stuff Category::Leathery]] [[Name::!{{#var:defaultM}}]] OR}} | ||
Line 351: | Line 364: | ||
| link = none | | link = none | ||
}} | }} | ||
+ | }} | ||
+ | </tr> | ||
}} | }} | ||
|} | |} |
Revision as of 13:49, 17 April 2023
Summary
This template is part of the following system generating tables for all weapons:
- Template:Weapon Stats Table - Usually the template that should be called on normal pages. Creates the headers.
- Template:Weapon Stats Table/Ranged - Creates the table for ranged combat.
- Template:Weapon Stats Table/Ranged/Row - Creates the rows for the ranged combat table.
- Template:Weapon Stats Table/Melee - Creates the table for melee attacks.
- Template:Weapon Stats Table/Melee/Row - Creates the rows for the melee attacks table.
- Template:True Melee DPS Calculator - Does a lot of the calculations and defines essential variables for the /Melee/Row template.
- Template:Weapon Stats Table/Melee/Row - Creates the rows for the melee attacks table.
- Template:Weapon Stats Table/Ranged - Creates the table for ranged combat.
Usage
If you want to use this template specifically you can specify the weapon as the first parameter:
{{Weapon Stats Table/Melee|Longsword}}
Otherwise it will use the name of the page it's placed on:
{{Weapon Stats Table/Melee}}
Examples
Longsword
A weapon with quality and with materials:
{{Weapon Stats Table/Melee|Longsword}}
Deactivated since the page would be to big.
Persona monosword
A weapon with quality but without materials:
{{Weapon Stats Table/Melee|Persona monosword}}
Feature | Toggle |
---|---|
Attacks | |
Quality |
Persona monosword | Handle (Blunt) | Point (Stab) | Edge (Cut) | HP | Value | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality |
DPS[1] | AP[1] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | ||
Awful | 11.63 | 57.6% | 9.6 | 1.6s | 14.4% | 6 | 25% | 21.6 | 1.6s | 72% | 13.5 | 38% | 21.6 | 1.6s | 72% | 13.5 | 38% | 100 | 1500 |
Poor | 13.08 | 64.8% | 10.8 | 1.6s | 16.2% | 6.75 | 25% | 24.3 | 1.6s | 81% | 15.19 | 38% | 24.3 | 1.6s | 81% | 15.19 | 38% | 100 | 2250 |
Normal | 14.53 | 72% | 12 | 1.6s | 18% | 7.5 | 25% | 27 | 1.6s | 90% | 16.88 | 38% | 27 | 1.6s | 90% | 16.88 | 38% | 100 | 3000 |
Good | 15.98 | 79.2% | 13.2 | 1.6s | 19.8% | 8.25 | 25% | 29.7 | 1.6s | 99% | 18.56 | 38% | 29.7 | 1.6s | 99% | 18.56 | 38% | 100 | 3500 |
Excellent | 17.44 | 86.4% | 14.4 | 1.6s | 21.6% | 9 | 25% | 32.4 | 1.6s | 108% | 20.25 | 38% | 32.4 | 1.6s | 108% | 20.25 | 38% | 100 | 4000 |
Masterwork | 24.47 | 130.5% | 17.4 | 1.6s | 26.1% | 10.88 | 0% | 39.15 | 1.6s | 130.5% | 24.47 | 50% | 39.15 | 1.6s | 130.5% | 24.47 | 50% | 100 | 5000 |
Legendary | 27.84 | 148.5% | 19.8 | 1.6s | 29.7% | 12.38 | 0% | 44.55 | 1.6s | 148.5% | 27.84 | 50% | 44.55 | 1.6s | 148.5% | 27.84 | 50% | 100 | 6000 |
For the full effects of qualities, see Quality.
- ↑ 1.0 1.1 Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox.
It may also change depending on the stats and the melee verbs available to the wielder - ↑ 2.0 2.1 2.2 Chance for attack to be selected, assuming only the weapon's attack verbs are considered. It may change depending on the melee verbs available to the wielder
Club
A weapon without quality but with materials:
{{Weapon Stats Table/Melee|Club}}
Feature | Toggle |
---|---|
Attacks |
Template:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/RowTemplate:Weapon Quality Table/Melee/Row
Club | Handle (Poke) | Head (Blunt) | HP | Value | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality | Material | DPS[1] | AP[1] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | ||
Normal | Steel | 6.38 | 19% | 9 | 2s | 13% | 4.5 | 25% | 14 | 2s | 21% | 7 | 75% | 100 | 80 |
For the full effects of qualities, see Quality.
- ↑ 1.0 1.1 Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox.
It may also change depending on the stats and the melee verbs available to the wielder - ↑ 2.0 2.1 Chance for attack to be selected, assuming only the weapon's attack verbs are considered. It may change depending on the melee verbs available to the wielder
Thrumbo horn
A weapon without quality and without materials:
{{Weapon Stats Table/Melee|Thrumbo horn}}
Feature | Toggle |
---|---|
Attacks |
Thrumbo horn | Point (Stab) | Point (Scratch) | Base (Blunt) | HP | Value | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality |
DPS[1] | AP[1] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | ||
Normal | 9.49 | 34.88% | 28 | 2.6s | 42% | 10.77 | 38% | 28 | 2.6s | 42% | 10.77 | 38% | 9 | 2s | 13.5% | 4.5 | 25% | 150 | 800 |
For the full effects of qualities, see Quality.
- ↑ 1.0 1.1 Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox.
It may also change depending on the stats and the melee verbs available to the wielder - ↑ 2.0 2.1 2.2 Chance for attack to be selected, assuming only the weapon's attack verbs are considered. It may change depending on the melee verbs available to the wielder
The above documentation is transcluded from Template:Weapon Stats Table/Melee/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |