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

From RimWorld Wiki
Jump to navigation Jump to search
(Right hand corner matches the implementation of the basic collapsible table format, its placed there for consistency's sake. ALso avoids reduplication.)
Tag: Undo
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>== Attack table ==
+
<includeonly>{{#if:{{{2|}}}||== Attack table ==}}
 
{{#vardefine:name | {{{ 1 |{{PAGENAME}}}}} }}<!--
 
{{#vardefine:name | {{{ 1 |{{PAGENAME}}}}} }}<!--
 
-->{{#vardefine: attack1Cooldown|{{Q|{{#var:name}}|Attack 1 Cooldown}}}}<!--
 
-->{{#vardefine: attack1Cooldown|{{Q|{{#var:name}}|Attack 1 Cooldown}}}}<!--
Line 49: Line 49:
 
</tr>
 
</tr>
 
|-
 
|-
! 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}}%

Latest revision as of 00:20, 21 March 2023

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


Description[edit]

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[edit]

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[edit]

{{Other Weapon Attack Table | Thrumbo horn}}

Produces:

Attack table

  • Name DPS[1] AP[1] Point (Stab) Point (Scratch) Base (Blunt) Value [ExpandCollapse]
    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 38% 28 2.6s 42% 10.77 38% 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