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

From RimWorld Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
! Market<br>Value
 
! Market<br>Value
 
|-
 
|-
! style="text-align:right;" | '''Awful {{#var:name}}'''
+
! style="text-align:right;" | Awful {{#var:name}}
 
| {{#expr: 0.9*{{#vardefineecho:damage| {{formatnum:{{Q|{{#var:name}}|Damage Base}}|R}} }} round 2}}
 
| {{#expr: 0.9*{{#vardefineecho:damage| {{formatnum:{{Q|{{#var:name}}|Damage Base}}|R}} }} round 2}}
 
| {{#if: {{#vardefineecho:avgAP| {{formatnum:{{Q|{{#var:name}}|Armor Penetration}}|R}}/100 }} | {{%|0.9*{{#var:avgAP}} round 4}} | -}}
 
| {{#if: {{#vardefineecho:avgAP| {{formatnum:{{Q|{{#var:name}}|Armor Penetration}}|R}}/100 }} | {{%|0.9*{{#var:avgAP}} round 4}} | -}}
Line 41: Line 41:
 
|-
 
|-
  
! style="text-align:right;" | '''Poor {{#var:name}}'''
+
! style="text-align:right;" | Poor {{#var:name}}
 
| {{#var:damage}}
 
| {{#var:damage}}
 
| {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}}
 
| {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}}
Line 62: Line 62:
 
|-
 
|-
  
! style="text-align:right;" | '''Normal {{#var:name}}'''
+
! style="text-align:right;" | Normal {{#var:name}}
 
| {{#var:damage}}
 
| {{#var:damage}}
 
| {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}}
 
| {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}}
Line 83: Line 83:
 
|-
 
|-
  
!  style="text-align:right;" | '''Good {{#var:name}}'''
+
!  style="text-align:right;" | Good {{#var:name}}
 
| {{#var:damage}}
 
| {{#var:damage}}
 
| {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}}
 
| {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}}
Line 104: Line 104:
 
|-
 
|-
  
! style="text-align:right;" | '''Excellent {{#var:name}}'''
+
! style="text-align:right;" | Excellent {{#var:name}}
 
| {{#var:damage}}
 
| {{#var:damage}}
 
| {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}}
 
| {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}}
Line 125: Line 125:
 
|-
 
|-
  
! style="text-align:right;" | '''Masterwork {{#var:name}}'''
+
! style="text-align:right;" | Masterwork {{#var:name}}
 
| {{#expr: 1.25*{{#var:damage}} round 2}}
 
| {{#expr: 1.25*{{#var:damage}} round 2}}
 
| {{#if: {{#var:avgAP}} | {{%|1.25*{{#var:avgAP}} round 4}} | -}}
 
| {{#if: {{#var:avgAP}} | {{%|1.25*{{#var:avgAP}} round 4}} | -}}
Line 146: Line 146:
 
|-
 
|-
  
! style="text-align:right;" | '''Legendary {{#var:name}}'''
+
! style="text-align:right;" | Legendary {{#var:name}}
 
| {{#expr: 1.5*{{#var:damage}} round 2}}
 
| {{#expr: 1.5*{{#var:damage}} round 2}}
 
| {{#if: {{#var:avgAP}} | {{%|1.5*{{#var:avgAP}} round 4}} | -}}
 
| {{#if: {{#var:avgAP}} | {{%|1.5*{{#var:avgAP}} round 4}} | -}}

Revision as of 12:12, 31 December 2022


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

Summary

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

Parameters

If you want to use this template specifically you can specify the weapon as the first parameter:

{{Weapon Stats Table/Ranged|Sniper rifle}}

Otherwise it will use the name of the page it's placed on:

{{Weapon Stats Table/Ranged}}

Examples

Sniper rifle


A weapon with quality, no AOE, and range greater than long

{{Weapon Stats Table/Ranged|Sniper rifle}}
  • Quality Dam. AP Accuracy
    (Touch)
    Accuracy
    (Short)
    Accuracy
    (Medium)
    Accuracy
    (Long)
    DPS
    (Optimal)
    DPS
    (Touch)
    DPS
    (Short)
    DPS
    (Medium)
    DPS
    (Long)
    Market
    Value
    Awful Sniper rifle 22.5 34.2% 40% 56% 69% 70% 3.88 1.55 2.17 2.68 2.72 265 Silver
    Poor Sniper rifle 25 38% 45% 63% 77% 79% 4.31 1.94 2.72 3.32 3.4 395 Silver
    Normal Sniper rifle 25 38% 50% 70% 86% 88% 4.31 2.16 3.02 3.71 3.79 530 Silver
    Good Sniper rifle 25 38% 55% 77% 95% 97% 4.31 2.37 3.32 4.09 4.18 660 Silver
    Excellent Sniper rifle 25 38% 60% 84% 100% 100% 4.31 2.59 3.62 4.31 4.31 795 Silver
    Masterwork Sniper rifle 31.25 47.5% 68% 95% 100% 100% 5.39 3.66 5.12 5.39 5.39 1325 Silver
    Legendary Sniper rifle 37.5 57% 75% 100% 100% 100% 6.47 4.85 6.47 6.47 6.47 2650 Silver

    For the full effects of qualities, see Quality.

  • Chain shotgun


    A weapon with quality, no AOE, and range below long

    {{Weapon Stats Table/Ranged|Chain shotgun}}
  • Quality Dam. AP Accuracy
    (Touch)
    Accuracy
    (Short)
    Accuracy
    (Medium)
    Accuracy
    (Long)
    DPS
    (Optimal)
    DPS
    (Touch)
    DPS
    (Short)
    DPS
    (Medium)
    DPS
    (Long)
    Market
    Value
    Awful Chain shotgun 16.2 12.6% 46% 51% 44% 36% 16.86 7.75 8.6 7.42 6.07 200 Silver
    Poor Chain shotgun 18 14% 51% 58% 50% 41% 18.73 9.55 10.86 9.37 7.68 305 Silver
    Normal Chain shotgun 18 14% 57% 64% 55% 45% 18.73 10.68 11.99 10.3 8.43 405 Silver
    Good Chain shotgun 18 14% 63% 70% 61% 50% 18.73 11.8 13.11 11.43 9.37 505 Silver
    Excellent Chain shotgun 18 14% 68% 77% 66% 54% 18.73 12.74 14.42 12.36 10.11 605 Silver
    Masterwork Chain shotgun 22.5 17.5% 77% 86% 74% 61% 23.41 18.03 20.13 17.33 14.28 1010 Silver
    Legendary Chain shotgun 27 21% 86% 96% 83% 68% 28.1 24.16 26.97 23.32 19.1 2025 Silver

    For the full effects of qualities, see Quality.

  • Incendiary launcher


    A weapon with quality and AOE

    {{Weapon Stats Table/Ranged|Incendiary launcher}}
  • Quality Dam. AP DPS
    (Optimal)
    Market
    Value
    Awful Incendiary launcher 9 0% 1.29 170 Silver
    Poor Incendiary launcher 10 0% 1.43 255 Silver
    Normal Incendiary launcher 10 0% 1.43 340 Silver
    Good Incendiary launcher 10 0% 1.43 425 Silver
    Excellent Incendiary launcher 10 0% 1.43 510 Silver
    Masterwork Incendiary launcher 12.5 0% 1.79 850 Silver
    Legendary Incendiary launcher 15 0% 2.15 1700 Silver

    For the full effects of qualities, see Quality.

  • Frag grenades


    A weapon with no quality and AOE

    {{Weapon Stats Table/Ranged|Frag grenades}}
  • Quality Dam. AP DPS
    (Optimal)
    Market
    Value
    Awful Frag grenades 45 9% 10.8 133 Silver
    Poor Frag grenades 50 10% 12 199 Silver
    Normal Frag grenades 50 10% 12 265 Silver
    Good Frag grenades 50 10% 12 330 Silver
    Excellent Frag grenades 50 10% 12 395 Silver
    Masterwork Frag grenades 62.5 12.5% 15 660 Silver
    Legendary Frag grenades 75 15% 18 1325 Silver

    For the full effects of qualities, see Quality.

  • Charge blaster turret


    A weapon with no quality and no AOE

    {{Weapon Stats Table/Ranged|Charge blaster turret}}
  • Quality Dam. AP Accuracy
    (Touch)
    Accuracy
    (Short)
    Accuracy
    (Medium)
    Accuracy
    (Long)
    DPS
    (Optimal)
    DPS
    (Touch)
    DPS
    (Short)
    DPS
    (Medium)
    DPS
    (Long)
    Market
    Value
    Awful Charge blaster turret 13.5 20.25% 48% 64% 72% 68% 5.4 2.59 3.46 3.89 3.67 0 Silver
    Poor Charge blaster turret 15 22.5% 54% 72% 81% 77% 6 3.24 4.32 4.86 4.62 0 Silver
    Normal Charge blaster turret 15 22.5% 60% 80% 90% 85% 6 3.6 4.8 5.4 5.1 0 Silver
    Good Charge blaster turret 15 22.5% 66% 88% 99% 94% 6 3.96 5.28 5.94 5.64 0 Silver
    Excellent Charge blaster turret 15 22.5% 72% 96% 100% 100% 6 4.32 5.76 6 6 0 Silver
    Masterwork Charge blaster turret 18.75 28.13% 81% 100% 100% 100% 7.5 6.08 7.5 7.5 7.5 0 Silver
    Legendary Charge blaster turret 22.5 33.75% 90% 100% 100% 100% 9 8.1 9 9 9 0 Silver

    For the full effects of qualities, see Quality.

  • Template:Weapon Quality Table/Ranged Template:Weapon Quality Table/Ranged