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

From RimWorld Wiki
Jump to navigation Jump to search
m (Data-sort-type)
Line 67: Line 67:
 
}}
 
}}
 
|- {{#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}} | {{#vardefineecho:collapseQ|class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseQuality"}} |  {{#vardefineecho:collapseQ|class="mw-collapsible" id="mw-customcollapsible-collapseQuality"}} }}
! style="text-align:left;" | {{#vardefineecho:quality|Awful}} <!--
+
! 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}}]] }}
 
-->{{#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}}
 
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Awful}}
Line 108: Line 108:
 
}}
 
}}
 
|- {{#var:collapseQ}}
 
|- {{#var:collapseQ}}
! style="text-align:left;" | {{#vardefineecho:quality|Poor}}<!--
+
! style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|1}}"| {{#vardefineecho:quality|Poor}}<!--
 
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
 
-->{{#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}}}}|Poor}}
 
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Poor}}
Line 149: Line 149:
 
}}
 
}}
 
|-
 
|-
! style="text-align:left;" | {{#vardefineecho:quality|Normal}} <!--
+
! style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|2}}"| {{#vardefineecho:quality|Normal}} <!--
 
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
 
-->{{#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}}}}|Normal}}
 
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Normal}}
Line 190: Line 190:
 
}}
 
}}
 
|- {{#var:collapseQ}}
 
|- {{#var:collapseQ}}
! style="text-align:left;" | {{#vardefineecho:quality|Good}} <!--
+
! style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|3}}"| {{#vardefineecho:quality|Good}} <!--
 
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
 
-->{{#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}}}}|Good}}
 
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Good}}
Line 231: Line 231:
 
}}
 
}}
 
|- {{#var:collapseQ}}
 
|- {{#var:collapseQ}}
! style="text-align:left;" | {{#vardefineecho:quality|Excellent}} <!--
+
! style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|4}}"| {{#vardefineecho:quality|Excellent}} <!--
 
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
 
-->{{#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}}}}|Excellent}}
 
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Excellent}}
Line 272: Line 272:
 
}}
 
}}
 
|- {{#var:collapseQ}}
 
|- {{#var:collapseQ}}
! style="text-align:left;" | {{#vardefineecho:quality|Masterwork}} <!--
+
! style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|5}}"| {{#vardefineecho:quality|Masterwork}} <!--
 
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
 
-->{{#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}}}}|Masterwork}}
 
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Masterwork}}
Line 313: Line 313:
 
}}
 
}}
 
|- {{#var:collapseQ}}
 
|- {{#var:collapseQ}}
! style="text-align:left;" | {{#vardefineecho:quality|Legendary}} <!--
+
! style="text-align:left;" data-sort-value="{{#vardefineecho:qualitySort|6}}"| {{#vardefineecho:quality|Legendary}} <!--
 
-->{{#if: {{#var:stufftags}} | {{!!}} style="text-align:left;" data-sort-value="{{#var:defaultM}}" {{!}} {{Icon Small|{{#var:defaultM}}}} [[{{#var:defaultM}}]] }}
 
-->{{#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}}}}|Legendary}}
 
| {{True Melee DPS Calculator|{{#var:name}}|{{#if:{{#var:stufftags}}|{{#var:defaultM}}}}|Legendary}}

Revision as of 13:24, 4 January 2023

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

Summary

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

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 Ritual Quality Check Off.pngRitual Quality Check On.png
    Quality Ritual Quality Check Off.pngRitual Quality Check On.png
    Persona monosword 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 Silver
    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 Silver
    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 Silver
    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 Silver
    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 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% 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% 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
    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

    Club


    A weapon without quality but with materials:

    {{Weapon Stats Table/Melee|Club}}
  • Feature Toggle
    Attacks Ritual Quality Check Off.pngRitual Quality Check On.png
    Quality Ritual Quality Check Off.pngRitual Quality Check On.png
    Club 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]
    Awful Steel Steel 5.1 15.2% 7.2 2s 10.4% 3.6 25% 11.2 2s 16.8% 5.6 75% 100 40 Silver

    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

    Poor Steel Steel 5.74 17.1% 8.1 2s 11.7% 4.05 25% 12.6 2s 18.9% 6.3 75% 100 60 Silver

    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

    Normal Steel Steel 6.38 19% 9 2s 13% 4.5 25% 14 2s 21% 7 75% 100 80 Silver

    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

    Good Steel Steel 7.01 20.9% 9.9 2s 14.3% 4.95 25% 15.4 2s 23.1% 7.7 75% 100 100 Silver

    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

    Excellent Steel Steel 7.65 22.8% 10.8 2s 15.6% 5.4 25% 16.8 2s 25.2% 8.4 75% 100 120 Silver

    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

    Masterwork Steel Steel 9.24 27.55% 13.05 2s 18.85% 6.53 25% 20.3 2s 30.45% 10.15 75% 100 200 Silver

    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

    Legendary Steel Steel 10.52 31.35% 14.85 2s 21.45% 7.43 25% 23.1 2s 34.65% 11.55 75% 100 400 Silver

    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

    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 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 Ritual Quality Check Off.pngRitual Quality Check On.png
    Quality Ritual Quality Check Off.pngRitual Quality Check On.png
    Thrumbo horn 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]
    Awful 7.59 27.9% 22.4 2.6s 33.6% 8.62 38% 22.4 2.6s 33.6% 8.62 38% 7.2 2s 10.8% 3.6 25% 150 400 Silver
    Poor 8.54 31.39% 25.2 2.6s 37.8% 9.69 38% 25.2 2.6s 37.8% 9.69 38% 8.1 2s 12.15% 4.05 25% 150 600 Silver
    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 Silver
    Good 10.44 38.36% 30.8 2.6s 46.2% 11.85 38% 30.8 2.6s 46.2% 11.85 38% 9.9 2s 14.85% 4.95 25% 150 1000 Silver
    Excellent 11.39 41.85% 33.6 2.6s 50.4% 12.92 38% 33.6 2.6s 50.4% 12.92 38% 10.8 2s 16.2% 5.4 25% 150 1200 Silver
    Masterwork 13.76 50.57% 40.6 2.6s 60.9% 15.62 38% 40.6 2.6s 60.9% 15.62 38% 13.05 2s 19.575% 6.53 25% 150 2000 Silver
    Legendary 15.66 57.54% 46.2 2.6s 69.3% 17.77 38% 46.2 2.6s 69.3% 17.77 38% 14.85 2s 22.275% 7.43 25% 150 3800 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