Difference between revisions of "Template:Weapon Stats Table/Ranged/Row"
(simplify quality column and remove it if not necessary) |
(alignment same as /Melee/Row) |
||
Line 18: | Line 18: | ||
}} }} | }} }} | ||
|- | |- | ||
− | {{#if: {{{1|}}} | ! style="text-align: | + | {{#if: {{{1|}}} | ! style="text-align:left;" {{!}} {{{1|}}} }} |
| {{#expr: {{#var:damage}}*{{#var:damageQualityFactor}} round 2}} | | {{#expr: {{#var:damage}}*{{#var:damageQualityFactor}} round 2}} | ||
| {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}}*{{#var:damageQualityFactor}} round 4}} | -}} | | {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}}*{{#var:damageQualityFactor}} round 4}} | -}} |
Revision as of 09:32, 19 April 2023
This page has been suggested for recoding. Reason: 1) Clarify that current AOE DPS is against a single target 2) Some way to display optimum DPS asusming every tile that is hit deals damage (e.g. frag grenades hit 9 tiles, so its 9x the current DPS) - may be necessary to split DPS into single target and maximum columns.. You can help RimWorld Wiki by improving it. |
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.
This template relies on a lot of variables defined in Template:Weapon Stats Table/Ranged. If you want to use this template separately, you'll have to define them as well.
Usage
You can call this template simply with:
{{Weapon Stats Table/Ranged/Row}}
Optionally you can give a quality as the first parameter:
{{Weapon Stats Table/Ranged/Row|Legendary}}
Examples
Sniper rifle
A weapon with quality, no AOE, and range greater than long
{{Weapon Stats Table/Ranged|Sniper rifle}}
For the full effects of qualities, see Quality. Values shown in Red indicate the weapon is out of range at the reference point for this range band.
The value is provided due to the interpolated nature of accuracy between range points.
Chain shotgun
A weapon with quality, no AOE, and range below long
{{Weapon Stats Table/Ranged|Chain shotgun}}
For the full effects of qualities, see Quality. Values shown in Red indicate the weapon is out of range at the reference point for this range band.
The value is provided due to the interpolated nature of accuracy between range points.
Incendiary launcher
A weapon with quality and AOE
{{Weapon Stats Table/Ranged|Incendiary launcher}}
For the full effects of qualities, see Quality.
Frag grenades
A weapon with no quality and AOE
{{Weapon Stats Table/Ranged|Frag grenades}}
Charge blaster turret
A weapon with no quality and no AOE
{{Weapon Stats Table/Ranged|Charge blaster turret}}
Values shown in Red indicate the weapon is out of range at the reference point for this range band.
The value is provided due to the interpolated nature of accuracy between range points.
The above documentation is transcluded from Template:Weapon Stats Table/Ranged/Row/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. |