Difference between revisions of "Damage per Second"

From RimWorld Wiki
Jump to navigation Jump to search
(formatting)
Line 1: Line 1:
 
'''Damage per second''' (a.k.a. '''DPS''' for short), is a measure of how much damage a given weapon does per second.
 
'''Damage per second''' (a.k.a. '''DPS''' for short), is a measure of how much damage a given weapon does per second.
  
==Disclaimer==
+
== Disclaimer ==
 
These DPS formulas don't account for a pawn's shooting skills.
 
These DPS formulas don't account for a pawn's shooting skills.
  
 
It's just a calculation of raw, total output damage (on a single target).
 
It's just a calculation of raw, total output damage (on a single target).
  
==Calculation==
+
== Calculation ==
 
The DPS of weapons on the [[Weapons|weapons page]] have been calculated using the following formula:
 
The DPS of weapons on the [[Weapons|weapons page]] have been calculated using the following formula:
  
===Maximum DPS===
+
=== Maximum DPS ===
 
This is the maximum potential damage, ignoring accuracy.
 
This is the maximum potential damage, ignoring accuracy.
  
{| class="wikitable"
+
'''<code>Max DPS = (Damage &times; Burst Shot Count) &divide; (Ranged Cooldown ([[ticks]]) + Warm-up ([[ticks]]) + (Burst Time ([[ticks]]) * (Burst Count - 1)) &times; 60 </code>'''
|-
+
 
|'''{{math|Max DPS {{=}} (Damage &times; Burst Shot Count) &divide; (Ranged Cooldown {{H:title|link=no|Time in seconds|(secs)}} + Warmup {{H:title|link=no|Time in seconds|(secs)}} + (Burst Time {{H:title|link=no|Time in seconds|(secs)}} * (Burst Shot Count - 1) }}'''
 
|}
 
Where:
 
* {{math|Burst Time {{H:title|link=no|Time in seconds|(secs)}} {{=}} 60 &divide; Fire Rate {{H:title|link=no|Rounds Per Minute|(RPM)}}
 
'''OR'''
 
* Burst Time {{H:title|link=no|Time in seconds|(secs)}} {{=}} Burst Ticks  {{H:title|link=no|Time in Game Ticks (1/60th second) |(Ticks)}} &divide; 60}}
 
 
For example:
 
For example:
{| class="wikitable"
 
|-
 
|{{math| [[Charge rifle]] max DPS {{=}} (15 &times; 3) &divide; (2s + 1s + (60  &divide; 300RPM) &times; (3 - 1)) {{=}} 13.24}}
 
|}
 
  
===Real DPS===
+
'''<code>[[Charge rifle]] max DPS = ({{Q|Charge rifle|Damage Base}} &times; {{Q|Charge rifle|Burst Count}}) &divide; ({{Q|Charge rifle|Ranged Cooldown Base}} [[ticks]] + {{Q|Charge rifle|Aiming Time Base}} [[ticks]] + {{Q|Charge rifle|Burst Ticks}} [[ticks]] &times; ({{Q|Charge rifle|Burst Count}} - 1)) &times; 60 = {{#expr: ({{Q|Charge rifle|Damage Base}} * {{Q|Charge rifle|Burst Count}}) / ({{Q|Charge rifle|Ranged Cooldown Base}} + {{Q|Charge rifle|Aiming Time Base}} + {{Q|Charge rifle|Burst Ticks}} * ({{Q|Charge rifle|Burst Count}} - 1)) * 60 round 2}}</code>'''
 +
 
 +
=== Real DPS ===
 
This is the realistic damage output of just the weapon itself with accuracy factored in. Doesn't account for colonist skill.
 
This is the realistic damage output of just the weapon itself with accuracy factored in. Doesn't account for colonist skill.
  
{| class="wikitable"
+
'''<code>Real DPS = Max DPS &times; Average Accuracy</code>'''
|-
+
 
|'''{{math|Real DPS {{=}} Max DPS &times; Average Accuracy }}'''
+
For example:
|}
+
 
 +
'''<code>[[Charge rifle]] real DPS = {{Q|Charge rifle|Average DPS}} &times; {{Q|Charge rifle|Average Accuracy}}% = {{#expr: {{Q|Charge rifle|Average DPS}} * {{Q|Charge rifle|Average Accuracy}} / 100 round 2}} </code>'''
 +
 
 
Numbers are rounded to two decimal places for readability.
 
Numbers are rounded to two decimal places for readability.
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]
[[Category:Weapons]]
+
[[Category:Weapons|#Damage per Second]]

Revision as of 03:07, 30 December 2022

Damage per second (a.k.a. DPS for short), is a measure of how much damage a given weapon does per second.

Disclaimer

These DPS formulas don't account for a pawn's shooting skills.

It's just a calculation of raw, total output damage (on a single target).

Calculation

The DPS of weapons on the weapons page have been calculated using the following formula:

Maximum DPS

This is the maximum potential damage, ignoring accuracy.

Max DPS = (Damage × Burst Shot Count) ÷ (Ranged Cooldown (ticks) + Warm-up (ticks) + (Burst Time (ticks) * (Burst Count - 1)) × 60

For example:

Charge rifle max DPS = (15 × 3) ÷ (120 ticks + 60 ticks + 12 ticks × (3 - 1)) × 60 = 13.24

Real DPS

This is the realistic damage output of just the weapon itself with accuracy factored in. Doesn't account for colonist skill.

Real DPS = Max DPS × Average Accuracy

For example:

Charge rifle real DPS = × % = Expression error: Unexpected * operator.

Numbers are rounded to two decimal places for readability.