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

From RimWorld Wiki
Jump to navigation Jump to search
(Existing template is too clever for its own good, and less maintainable for it.)
 
(Updating to true DPS like the Material table)
Line 1: Line 1:
 
==Quality table==
 
==Quality table==
{{#vardefine:name| {{{ 1 | {{PAGENAME}} }}} }}
+
{{#vardefine:name | {{{ 1 |{{PAGENAME}}}}} }}
 
{{#vardefine:name|Persona monosword }}
 
{{#vardefine:name|Persona monosword }}
{{#vardefine:avgDPS |  {{formatnum:{{Q|{{#var:name}}|MeleeDPS}}|R}}}}
+
<!--
{{#vardefine:avgAP|     {{formatnum:{{Q|{{#var:name}}|MeleeAP}}|R}}}}
+
-->{{#vardefine: attack1Cooldown|{{Q|{{#var:name}}|Attack 1 Cooldown}}}}<!--
{{#vardefine:highestDam|{{formatnum:{{Q|{{#var:name}}|Attack 1 Damage}}|R}}}}
+
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|<!--
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | {{#ifexpr: {{Q|{{#var:name}}|Attack 2 Damage}} > {{#var: highestDam}} | {{#vardefine: highestDam | {{formatnum:{{Q|{{#var:name}}|Attack 2 Damage}}|R}}}} }} }}
+
-->{{#vardefine: attack2Cooldown|{{Q|{{#var:name}}|Attack 2 Cooldown}}}}}}<!--
{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | {{#ifexpr: {{Q|{{#var:name}}|Attack 3 Damage}} > {{#var: highestDam}} | {{#vardefine: highestDam | {{formatnum:{{Q|{{#var:name}}|Attack 2 Damage}}|R}}}} }} }}
+
-->{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<!--
{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | {{#ifexpr: {{Q|{{#var:name}}|Attack 4 Damage}} > {{#var: highestDam}} | {{#vardefine: highestDam | {{formatnum:{{Q|{{#var:name}}|Attack 4 Damage}}|R}}}} }} }}
+
-->{{#vardefine: attack3Cooldown|{{Q|{{#var:name}}|Attack 3 Cooldown}}}}}}<!--
{{#vardefine:value|    {{formatnum:{{Q|{{#var:name}}|Market Value Base}}|R}}}}
+
-->{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<!--
 +
-->{{#vardefine: attack4Cooldown|{{Q|{{#var:name}}|Attack 4 Cooldown}}}}}}
 
<div><li style="display: inline-table;">
 
<div><li style="display: inline-table;">
 
{| {{STDT|sortable c_03 text-center}}
 
{| {{STDT|sortable c_03 text-center}}
 +
! rowspan="2" style="vertical-align: middle;" | Material
 +
! rowspan="2" style="vertical-align: middle;" | 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. It may also change depending on the stats and the melee verbs available to the wielder</ref>
 +
! rowspan="2" style="vertical-align: middle;" | AP<ref name="Actual"/>
 +
! 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}}]])
 +
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 +
! 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}}]])
 +
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
 +
! 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}}]])
 +
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
 +
! 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}}]])
 +
}}
 +
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" | Value
 
|-
 
|-
! Quality
+
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;" | Dam.
!{{H:title|link=no| Damage of the most powerful attack type available to the weapon |Damage}}
+
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"| Cool.
! Avg DPS
+
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"| AP
! Avg {{AP}}
+
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"| DPS
! Market Value
+
! 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>
 +
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} Dam.
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} Cool.
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} AP
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} DPS
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} Chance<ref name="Chance"/>
 +
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} Dam.
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} Cool.
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} AP
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} DPS
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} Chance<ref name="Chance"/>
 +
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} Dam.
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} Cool.
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} AP
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} DPS
 +
! data-sort-type="number" style="background-color:#d09c59;  border:#a67d47 2px; border-style: none none solid none;"{{!}} Chance<ref name="Chance"/>
 +
}}
 
|-
 
|-
 
!style="text-align:right;" |'''Awful {{#var:name}}'''
 
!style="text-align:right;" |'''Awful {{#var:name}}'''
| {{ #expr: 0.8*{{#var:highestDam|}} round 2}}
+
| {{True Melee DPS Calculator|{{#var:name}}||Awful}}
| {{ #expr: 0.8*{{#var:avgDPS|}} round 2}}
+
| {{#var:trueAP}}%
| {{ #expr: 0.8*{{#var:avgAP|}} round 2}}%
+
| style="border:#d09c59 2px; border-style: none none none solid;"|{{#var: attack1Damage}}
| {{Market Value | {{ #expr: 0.5*{{#var:value|}}}}}} {{icon small|silver|}}
+
| {{#var:attack1Cooldown}}s
 +
| {{#expr: {{#var: attack1AP}}}}%
 +
| {{#expr: {{#var: attack1Damage}}/{{#var:attack1Cooldown}} round 2}}
 +
| style="border:#d09c59 2px; border-style: none solid none none;"| {{#expr: 100*{{#var:attack1SelectionChance}}}}%
 +
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 +
{{!}} {{#var: attack2Damage}}
 +
{{!}} {{#var:attack2Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack2AP}}}}%
 +
{{!}} {{#expr: {{#var: attack2Damage}}/{{#var:attack2Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack2SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
 +
{{!}} {{#var: attack3Damage}}
 +
{{!}} {{#var:attack3Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack3AP}}}}%
 +
{{!}} {{#expr: {{#var: attack3Damage}}/{{#var:attack3Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack3SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
 +
{{!}} {{#var: attack4Damage}}
 +
{{!}} {{#var:attack4Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack4AP}}}}%
 +
{{!}} {{#expr: {{#var: attack4Damage}}/{{#var:attack4Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack4SelectionChance}}}}%}}
 +
| {{Market Value Calculator|{{#var:name}}||Awful}} {{icon small|silver|}}
 
|-
 
|-
  
 
+
!style="text-align:right;" |'''Poor {{#var:name}}'''
!style="text-align:right;"|'''Poor {{#var:name}}'''
+
| {{True Melee DPS Calculator|{{#var:name}}||Poor}}
| {{ #expr: 0.9*{{#var:highestDam|}} round 2}}
+
| {{#var:trueAP}}%
| {{ #expr: 0.9*{{#var:avgDPS|}} round 2}}
+
| style="border:#d09c59 2px; border-style: none none none solid;"|{{#var: attack1Damage}}
| {{ #expr: 0.9*{{#var:avgAP|}} round 2}}%
+
| {{#var:attack1Cooldown}}s
| {{Market Value | {{ #expr: 0.75*{{#var:value|}}}}}} {{icon small|silver|}}
+
| {{#expr: {{#var: attack1AP}}}}%
 +
| {{#expr: {{#var: attack1Damage}}/{{#var:attack1Cooldown}} round 2}}
 +
| style="border:#d09c59 2px; border-style: none solid none none;"| {{#expr: 100*{{#var:attack1SelectionChance}}}}%
 +
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 +
{{!}} {{#var: attack2Damage}}
 +
{{!}} {{#var:attack2Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack2AP}}}}%
 +
{{!}} {{#expr: {{#var: attack2Damage}}/{{#var:attack2Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack2SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
 +
{{!}} {{#var: attack3Damage}}
 +
{{!}} {{#var:attack3Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack3AP}}}}%
 +
{{!}} {{#expr: {{#var: attack3Damage}}/{{#var:attack3Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack3SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
 +
{{!}} {{#var: attack4Damage}}
 +
{{!}} {{#var:attack4Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack4AP}}}}%
 +
{{!}} {{#expr: {{#var: attack4Damage}}/{{#var:attack4Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack4SelectionChance}}}}%}}
 +
| {{Market Value Calculator|{{#var:name}}||Poor}} {{icon small|silver|}}
 
|-
 
|-
  
! style="text-align:right;" |'''Normal {{#var:name}}'''
+
!style="text-align:right;" |'''Normal {{#var:name}}'''
| {{ #expr: 1.0*{{#var:highestDam|}} round 2}}
+
| {{True Melee DPS Calculator|{{#var:name}}||Normal}}
| {{ #expr: 1.0*{{#var:avgDPS|}} round 2}}
+
| {{#var:trueAP}}%
| {{ #expr: 1.0*{{#var:avgAP|}} round 2}}%
+
| style="border:#d09c59 2px; border-style: none none none solid;"|{{#var: attack1Damage}}
| {{Market Value | {{ #expr: 1.0*{{#var:value|}}}}}} {{icon small|silver|}}
+
| {{#var:attack1Cooldown}}s
 +
| {{#expr: {{#var: attack1AP}}}}%
 +
| {{#expr: {{#var: attack1Damage}}/{{#var:attack1Cooldown}} round 2}}
 +
| style="border:#d09c59 2px; border-style: none solid none none;"| {{#expr: 100*{{#var:attack1SelectionChance}}}}%
 +
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 +
{{!}} {{#var: attack2Damage}}
 +
{{!}} {{#var:attack2Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack2AP}}}}%
 +
{{!}} {{#expr: {{#var: attack2Damage}}/{{#var:attack2Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack2SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
 +
{{!}} {{#var: attack3Damage}}
 +
{{!}} {{#var:attack3Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack3AP}}}}%
 +
{{!}} {{#expr: {{#var: attack3Damage}}/{{#var:attack3Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack3SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
 +
{{!}} {{#var: attack4Damage}}
 +
{{!}} {{#var:attack4Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack4AP}}}}%
 +
{{!}} {{#expr: {{#var: attack4Damage}}/{{#var:attack4Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack4SelectionChance}}}}%}}
 +
| {{Market Value Calculator|{{#var:name}}||Normal}} {{icon small|silver|}}
 
|-
 
|-
  
! style="text-align:right;" |'''Good {{#var:name}}'''
+
!style="text-align:right;" |'''Good {{#var:name}}'''
| {{ #expr: 1.1*{{#var:highestDam|}} round 2}}
+
| {{True Melee DPS Calculator|{{#var:name}}||Good}}
| {{ #expr: 1.1*{{#var:avgDPS|}} round 2}}
+
| {{#var:trueAP}}%
| {{ #expr: 1.1*{{#var:avgAP|}} round 2}}%
+
| style="border:#d09c59 2px; border-style: none none none solid;"|{{#var: attack1Damage}}
| {{Market Value | {{#ifexpr: {{ #expr: 1.25*{{#var:value|}}}} < {{ #expr: 500+{{#var:value|}}}} | {{ #expr: 1.25*{{#var:value|}}}} | {{ #expr: 500+{{#var:value|}}}}}} }} {{icon small|silver|}}
+
| {{#var:attack1Cooldown}}s
 +
| {{#expr: {{#var: attack1AP}}}}%
 +
| {{#expr: {{#var: attack1Damage}}/{{#var:attack1Cooldown}} round 2}}
 +
| style="border:#d09c59 2px; border-style: none solid none none;"| {{#expr: 100*{{#var:attack1SelectionChance}}}}%
 +
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 +
{{!}} {{#var: attack2Damage}}
 +
{{!}} {{#var:attack2Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack2AP}}}}%
 +
{{!}} {{#expr: {{#var: attack2Damage}}/{{#var:attack2Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack2SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
 +
{{!}} {{#var: attack3Damage}}
 +
{{!}} {{#var:attack3Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack3AP}}}}%
 +
{{!}} {{#expr: {{#var: attack3Damage}}/{{#var:attack3Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack3SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
 +
{{!}} {{#var: attack4Damage}}
 +
{{!}} {{#var:attack4Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack4AP}}}}%
 +
{{!}} {{#expr: {{#var: attack4Damage}}/{{#var:attack4Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack4SelectionChance}}}}%}}
 +
| {{Market Value Calculator|{{#var:name}}||Good}} {{icon small|silver|}}
 
|-
 
|-
  
! style="text-align:right;" |'''Excellent {{#var:name}}'''
+
!style="text-align:right;" |'''Excellent {{#var:name}}'''
| {{ #expr: 1.2*{{#var:highestDam|}} round 2}}
+
| {{True Melee DPS Calculator|{{#var:name}}||Excellent}}
| {{ #expr: 1.2*{{#var:avgDPS|}} round 2}}
+
| {{#var:trueAP}}%
| {{ #expr: 1.2*{{#var:avgAP|}} round 2}}%
+
| style="border:#d09c59 2px; border-style: none none none solid;"|{{#var: attack1Damage}}
| {{Market Value | {{#ifexpr: {{ #expr: 1.5*{{#var:value|}}}} < {{ #expr: 1000+{{#var:value|}}}} | {{ #expr: 1.5*{{#var:value|}}}} | {{ #expr: 1000+{{#var:value|}}}}}} }} {{icon small|silver|}}
+
| {{#var:attack1Cooldown}}s
 +
| {{#expr: {{#var: attack1AP}}}}%
 +
| {{#expr: {{#var: attack1Damage}}/{{#var:attack1Cooldown}} round 2}}
 +
| style="border:#d09c59 2px; border-style: none solid none none;"| {{#expr: 100*{{#var:attack1SelectionChance}}}}%
 +
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 +
{{!}} {{#var: attack2Damage}}
 +
{{!}} {{#var:attack2Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack2AP}}}}%
 +
{{!}} {{#expr: {{#var: attack2Damage}}/{{#var:attack2Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack2SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
 +
{{!}} {{#var: attack3Damage}}
 +
{{!}} {{#var:attack3Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack3AP}}}}%
 +
{{!}} {{#expr: {{#var: attack3Damage}}/{{#var:attack3Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack3SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
 +
{{!}} {{#var: attack4Damage}}
 +
{{!}} {{#var:attack4Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack4AP}}}}%
 +
{{!}} {{#expr: {{#var: attack4Damage}}/{{#var:attack4Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack4SelectionChance}}}}%}}
 +
| {{Market Value Calculator|{{#var:name}}||Excellent}} {{icon small|silver|}}
 
|-
 
|-
  
! style="text-align:right;" |'''Masterwork {{#var:name}}'''
+
!style="text-align:right;" |'''Masterwork {{#var:name}}'''
| {{ #expr: 1.45*{{#var:highestDam|}} round 2}}
+
| {{True Melee DPS Calculator|{{#var:name}}||Masterwork}}
|{{ #expr: 1.45*{{#var:avgDPS|}} round 2}}
+
| {{#var:trueAP}}%
| {{ #expr: 1.45*{{#var:avgAP|}} round 2}}%
+
| style="border:#d09c59 2px; border-style: none none none solid;"|{{#var: attack1Damage}}
| {{Market Value | {{#ifexpr: {{ #expr: 2.5*{{#var:value|}}}} < {{ #expr: 2000+{{#var:value|}}}} | {{ #expr: 2.5*{{#var:value|}}}} | {{ #expr: 2000+{{#var:value|}}}}}} }} {{icon small|silver|}}
+
| {{#var:attack1Cooldown}}s
 +
| {{#expr: {{#var: attack1AP}}}}%
 +
| {{#expr: {{#var: attack1Damage}}/{{#var:attack1Cooldown}} round 2}}
 +
| style="border:#d09c59 2px; border-style: none solid none none;"| {{#expr: 100*{{#var:attack1SelectionChance}}}}%
 +
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 +
{{!}} {{#var: attack2Damage}}
 +
{{!}} {{#var:attack2Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack2AP}}}}%
 +
{{!}} {{#expr: {{#var: attack2Damage}}/{{#var:attack2Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack2SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
 +
{{!}} {{#var: attack3Damage}}
 +
{{!}} {{#var:attack3Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack3AP}}}}%
 +
{{!}} {{#expr: {{#var: attack3Damage}}/{{#var:attack3Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack3SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
 +
{{!}} {{#var: attack4Damage}}
 +
{{!}} {{#var:attack4Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack4AP}}}}%
 +
{{!}} {{#expr: {{#var: attack4Damage}}/{{#var:attack4Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack4SelectionChance}}}}%}}
 +
| {{Market Value Calculator|{{#var:name}}||Masterwork}} {{icon small|silver|}}
 
|-
 
|-
  
! style="text-align:right;" |'''Legendary {{#var:name}}'''
+
!style="text-align:right;" |'''Legendary {{#var:name}}'''
| {{ #expr: 1.65*{{#var:highestDam|}} round 2}}
+
| {{True Melee DPS Calculator|{{#var:name}}||Legendary}}
| {{ #expr: 1.65*{{#var:avgDPS|}} round 2}}
+
| {{#var:trueAP}}%
| {{ #expr: 1.65*{{#var:avgAP|}} round 2}}%
+
| style="border:#d09c59 2px; border-style: none none none solid;"|{{#var: attack1Damage}}
| {{Market Value | {{#ifexpr: {{ #expr: 5*{{#var:value|}}}} < {{ #expr: 3000+{{#var:value|}}}} | {{ #expr: 5*{{#var:value|}}}} | {{ #expr: 3000+{{#var:value|}}}}}} }} {{icon small|silver|}}
+
| {{#var:attack1Cooldown}}s
 +
| {{#expr: {{#var: attack1AP}}}}%
 +
| {{#expr: {{#var: attack1Damage}}/{{#var:attack1Cooldown}} round 2}}
 +
| style="border:#d09c59 2px; border-style: none solid none none;"| {{#expr: 100*{{#var:attack1SelectionChance}}}}%
 +
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 +
{{!}} {{#var: attack2Damage}}
 +
{{!}} {{#var:attack2Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack2AP}}}}%
 +
{{!}} {{#expr: {{#var: attack2Damage}}/{{#var:attack2Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack2SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
 +
{{!}} {{#var: attack3Damage}}
 +
{{!}} {{#var:attack3Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack3AP}}}}%
 +
{{!}} {{#expr: {{#var: attack3Damage}}/{{#var:attack3Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack3SelectionChance}}}}%
 +
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
 +
{{!}} {{#var: attack4Damage}}
 +
{{!}} {{#var:attack4Cooldown}}s
 +
{{!}} {{#expr: {{#var: attack4AP}}}}%
 +
{{!}} {{#expr: {{#var: attack4Damage}}/{{#var:attack4Cooldown}} round 2}}
 +
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack4SelectionChance}}}}%}}
 +
| {{Market Value Calculator|{{#var:name}}||Legendary}} {{icon small|silver|}}
 
|-
 
|-
 
|}
 
|}
 
<sup>For the full effects of qualities, see [[Quality]].</sup> </li></div>
 
<sup>For the full effects of qualities, see [[Quality]].</sup> </li></div>

Revision as of 13:24, 30 June 2022

Quality table

  • Material DPS[1] AP[1] Handle (Blunt) Point (Stab)
    Edge (Cut) Value
    Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    Dam. Cool. AP DPS Chance[2]
    Awful Persona monosword 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% 1500 Silver
    Poor Persona monosword 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% 2250 Silver
    Normal Persona monosword 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% 3000 Silver
    Good Persona monosword 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% 3500 Silver
    Excellent Persona monosword 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% 4000 Silver
    Masterwork Persona monosword 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% 5000 Silver
    Legendary Persona monosword 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% 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
    2. 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