Difference between revisions of "Damage per Second"

From RimWorld Wiki
Jump to navigation Jump to search
(Rewrote the DPS page.)
 
(23 intermediate revisions by 8 users not shown)
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. These are usually done in an "ideal" sense of calculation, where it is assumed that every single bullet hits the intended target, meaning that it does its full amount of damage.
+
'''Damage per second''' (a.k.a. '''DPS''' for short) is a measure of how much damage a given weapon does per second.
  
==Calculation==
+
== 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 ==
 +
{{stub|section=1|reason=1 ) Ranged DPS bands 2) melee DPS inc True DPS}}
 
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:
  
{{math|big=1|DPS {{=}} (Damage × Burst Count × Blast Radius) ÷ { [Cooldown + Warmup + (Burst Ticks × (Burst Count - 1)] ÷ 60 ticks per second } }}
+
=== Optimal DPS ===
 +
This is the maximum potential damage, ignoring accuracy.
 +
 
 +
'''<code>Max DPS = (Damage &times; Burst Shot Count) &divide; (Ranged Cooldown ([[ticks]]) + Warm-up ([[ticks]]) + (Burst Time ([[ticks]]) * (Burst Count - 1)) &times; 60 </code>'''
 +
 
 +
For example:
 +
 
 +
'''<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>'''
  
Numbers are rounded to two decimal places for readability.
 
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]
[[Category:Weapons]]
+
[[Category:Weapons|#Damage per Second]]

Latest revision as of 14:36, 24 April 2023

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

Disclaimer[edit]

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

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

Optimal DPS[edit]

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