Difference between revisions of "Melee DPS"

From RimWorld Wiki
Jump to navigation Jump to search
(Base StatDef info with rudimentary explanation on how the game calculates this stat)
 
Line 1: Line 1:
{{Stub|reason=Thorough explanation of StatWorker_MeleeDPS and all of its contributing factors towards the calculated melee DPS}}
+
{{Stub|reason= 1) this page is dangerous as is because it is very likely to confuse people about actual melee DPS vs the stat of the same name. this needs to be explictly and loudly spelled out here (i.e. more than just [[Template: About]] and the practical differences explained, to the point where we might consider.moving this page to Melee DPS (stat) and leaving a description here 2) Thorough explanation of StatWorker_MeleeDPS and all of its contributing factors towards the calculated melee DPS}}
 
{{Verified|1.5.4104}}{{Stat
 
{{Verified|1.5.4104}}{{Stat
 
| min value = 0
 
| min value = 0
 
| default base value = 0
 
| default base value = 0
 
| to string style = FloatTwo
 
| to string style = FloatTwo
| description = Average damage per second in melee combat.<br id="n" /><br id="n" />This stat ignores target defenses like dodging and armor.
+
| description = Average damage per second in melee combat.<br id="n" />This stat ignores target defenses like dodging and armor.
 
| category = PawnCombat
 
| category = PawnCombat
 
}}
 
}}

Revision as of 02:26, 12 September 2024

Melee DPS is a stat: Average damage per second in melee combat.
This stat ignores target defenses like dodging and armor. Its minimum allowed value is 0. Its default value is 0.

Factors

  • Melee Damage
    • Average of all attacks
      • Melee Damage goes through a list of all available melee verbs, factors in their selection weights, base power, and pawn, stuff, and weapon multipliers (MeleeDamageFactor, SharpDamageMultiplier / BluntDamageMultiplier, and MeleeWeapon_DamageMultiplier)
  • Melee Hit Chance
  • Melee Cooldown
    • Average of all attacks
      • Melee Cooldown goes through a list of all available melee verbs, factors in their selection weights, and stuff and pawn multipliers (MeleeWeapon_CooldownMultiplier and MeleeCooldownFactor)

The basic string format is:

{0} ( {1} x {2} / {3} )

or

Melee DPS ( Average Melee Damage x Melee Hit Chance / Average Melee Cooldown )

Stat Def Data

Def Name
Label
Label For Full Stat List
Offset Label
Attributes
Description Category Parameters Complex
Parameters
Display
Priority
In
Category
  • Def Name:
    MeleeDPS
  • Label:
    melee DPS
Average damage per second in melee combat.

This stat ignores target defenses like dodging and armor.
  • Display Order:
    110
  • Def Name:
    PawnCombat
  • Label:
    Combat
  • Display All By Default:
    false
  • Worker Class: StatWorker_MeleeDPS
  • Default Base Value: 0
  • Min Value: 0
  • To String Style: FloatTwo
  • For Information Only: true
  • Show Developmental Stage Filter: Child, Adult
- 5100