Difference between revisions of "Damage per Second"

From RimWorld Wiki
Jump to navigation Jump to search
m (Updated DPS formula, blast radius removed for now.)
 
(20 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.
+
'''Damage per second''' (a.k.a. '''DPS''' for short) is a measure of how much damage a given weapon does per second.
  
==Disclaimer==
+
== Disclaimer ==
DPS assumes that '''every shot hits''' (which, in reality, is very unlikely for non-explosive weapons). DPS does not factor in other variables like accuracy or miss radius - it is a measure of how much ''potential damage'' a weapon ''could'' do.
+
These DPS formulas don't account for a pawn's shooting skills.
 
 
So in short, this formula doesn't account for:
 
*Accuracy/Misses
 
*Miss Radius
 
*Blast Radius
 
  
 
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 ==
 +
{{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:
  
 +
=== 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>'''
  
{{math|big=1|DPS {{=}} (Damage &times; Burst Count) &divide; { [Cooldown + Warmup + (Burst Ticks &times; (Burst Count - 1)] &divide; 60 ticks per second } }}
+
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