Difference between revisions of "Template:Other Weapon Attack Table"

From RimWorld Wiki
Jump to navigation Jump to search
m
Line 10: Line 10:
 
<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;" | Name
 
! 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;" | 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"/>
 
! rowspan="2" style="vertical-align: middle;" | AP<ref name="Actual"/>
Line 16: Line 16:
 
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 
{{#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}}]])
 
! 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>
+
}}{{#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}}]])
 
! 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>
+
}}{{#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}}]])
 
! 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
 
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" | Value
 
|-
 
|-
! 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;" | 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;" | 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;" | 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;" | DPS
! 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>
+
! 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}}|
+
{{#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;"{{!}} 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;"{{!}} 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;"{{!}} 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;"{{!}} DPS
! data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"{{!}} Chance<ref name="Chance"/>
+
! 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>
+
}}{{#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;"{{!}} 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;"{{!}} 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;"{{!}} 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;"{{!}} DPS
! data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"{{!}} Chance<ref name="Chance"/>
+
! 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>
+
}}{{#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;"{{!}} 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;"{{!}} 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;"{{!}} 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;"{{!}} DPS
! data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"{{!}} Chance<ref name="Chance"/>
+
! 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;" |'''{{#var:name}}'''
+
! style="text-align:right;" | '''{{#var:name}}'''
 
| {{True Melee DPS Calculator|{{#var:name}}||Normal}}
 
| {{True Melee DPS Calculator|{{#var:name}}||Normal}}
 
| {{#var:trueAP}}%
 
| {{#var:trueAP}}%
Line 56: Line 56:
 
| {{#expr: {{#var: attack1Damage}}/{{#var:attack1Cooldown}} round 2}}
 
| {{#expr: {{#var: attack1Damage}}/{{#var:attack1Cooldown}} round 2}}
 
| style="border:#d09c59 2px; border-style: none solid none none;"| {{#expr: 100*{{#var:attack1SelectionChance}} round 2}}%
 
| style="border:#d09c59 2px; border-style: none solid none none;"| {{#expr: 100*{{#var:attack1SelectionChance}} round 2}}%
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
+
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} |
 
{{!}} {{#var: attack2Damage}}
 
{{!}} {{#var: attack2Damage}}
 
{{!}} {{#var:attack2Cooldown}}s
 
{{!}} {{#var:attack2Cooldown}}s
Line 62: Line 62:
 
{{!}} {{#expr: {{#var: attack2Damage}}/{{#var:attack2Cooldown}} round 2}}
 
{{!}} {{#expr: {{#var: attack2Damage}}/{{#var:attack2Cooldown}} round 2}}
 
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack2SelectionChance}} round 2}}%
 
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack2SelectionChance}} round 2}}%
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}}|<br>
+
}}{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | <br/>
 
{{!}} {{#var: attack3Damage}}
 
{{!}} {{#var: attack3Damage}}
 
{{!}} {{#var:attack3Cooldown}}s
 
{{!}} {{#var:attack3Cooldown}}s
Line 68: Line 68:
 
{{!}} {{#expr: {{#var: attack3Damage}}/{{#var:attack3Cooldown}} round 2}}
 
{{!}} {{#expr: {{#var: attack3Damage}}/{{#var:attack3Cooldown}} round 2}}
 
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack3SelectionChance}} round 2}}%
 
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack3SelectionChance}} round 2}}%
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}}|<br>
+
}}{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | <br/>
 
{{!}} {{#var: attack4Damage}}
 
{{!}} {{#var: attack4Damage}}
 
{{!}} {{#var:attack4Cooldown}}s
 
{{!}} {{#var:attack4Cooldown}}s
Line 74: Line 74:
 
{{!}} {{#expr: {{#var: attack4Damage}}/{{#var:attack4Cooldown}} round 2}}
 
{{!}} {{#expr: {{#var: attack4Damage}}/{{#var:attack4Cooldown}} round 2}}
 
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack4SelectionChance}} round 2}}%}}
 
{{!}} style="border:#d09c59 2px; border-style: none solid none none;"{{!}} {{#expr: 100*{{#var:attack4SelectionChance}} round 2}}%}}
| {{Market Value Calculator|{{#var:name}}||Normal}} {{icon small|silver|}}
+
| {{Market Value Calculator|{{#var:name}}||Normal}} {{Icon Small|silver}}
 
|-
 
|-
|}</li></div><references/></includeonly><noinclude>{{Other Weapon Attack Table|Thrumbo horn}}</noinclude>
+
|}</li></div><references/></includeonly><noinclude>
 +
{{Documentation wanted}}
 +
{{Documentation}}
 +
{{Other Weapon Attack Table|Thrumbo horn}}
 +
[[Category:Customized table templates]]
 +
</noinclude>

Revision as of 20:48, 5 October 2022


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


Description

This template generates a table summarizing stats for an given melee weapon, including average damage per second, armor piercing and Market Value.

This template is intended exclusively for weapons that are not stuffable, for that see Template:Weapon Material Table, and do not have quality, for that see Template:Weapon Stats Table. This template exists to give an equivalent comparison method to those tables.

Parameters

The first parameter (if present) will specify which weapon to generate the template for. If absent, {{PAGENAME}} will be used.

The second parameter (if present) suppresses the heading.

Example usage

{{Other Weapon Attack Table | Thrumbo horn}}

Produces:

Attack table

  • Name DPS[1] AP[1] Point (Stab) Point (Scratch)
    Base (Blunt) Value
    Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    Dam. Cool. AP DPS Chance[2]
    Thrumbo horn 9.49 34.88% 28 2.6s 42% 10.77 37.5% 28 2.6s 42% 10.77 37.5%
    9 2s 13.5% 4.5 25% 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
    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

    Attack table

  • Name DPS[1] AP[1] Point (Stab) Point (Scratch)
    Base (Blunt) Value
    Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    Dam. Cool. AP DPS Chance[2]
    Thrumbo horn 9.49 34.88% 28 2.6s 42% 10.77 37.5% 28 2.6s 42% 10.77 37.5%
    9 2s 13.5% 4.5 25% 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
    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