Difference between revisions of "Trap Melee Damage"

From RimWorld Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
 
{{Stub|reason=1) Corresponding Property 2) Two-way links}}
 
{{Stub|reason=1) Corresponding Property 2) Two-way links}}
 +
{{See also|Spike trap}}
 
{{Verified|1.5.4104}}{{Stat
 
{{Verified|1.5.4104}}{{Stat
 
| def name = TrapMeleeDamage
 
| def name = TrapMeleeDamage
 
| label = trap melee damage
 
| label = trap melee damage
| description = How much damage this [[trap]] does on average per hit. Each trap hits multiple times.<br/><br/>The actual damage in any instance will vary randomly.
+
| description = How much damage this [[trap]] does on average per hit. Each trap hits multiple times.<br/>The actual damage in any instance will vary randomly.
 
| default base value = 1
 
| default base value = 1
 
| min value = 1
 
| min value = 1
Line 12: Line 13:
 
| worker class = StatWorker_MeleeDamageAmountTrap
 
| worker class = StatWorker_MeleeDamageAmountTrap
 
}}
 
}}
{{See also|Spike trap}}
 
  
 
== Bases ==
 
== Bases ==

Latest revision as of 06:39, 25 September 2024

Trap Melee Damage is a stat: How much damage this trap does on average per hit. Each trap hits multiple times.
The actual damage in any instance will vary randomly. Its minimum allowed value is 1. Its default value is 1.

Bases[edit]

  • Trap Trap Melee Damage Base
    Spike trap Spike trap 100
  • Explanation[edit]

    This stat is only displayed on trap buildings.

    This value is divided by 5 before being processed, representing the fact that spike traps deal damage rapidly 5 times. A base value of 100 damage therefore represents 20 damage per hit, that is, before random variation.

    Stat Def Data[edit]

    Def Name
    Label
    Label For Full Stat List
    Offset Label
    Attributes
    Description Category Parameters Complex
    Parameters
    Display
    Priority
    In
    Category
    • Def Name:
      TrapMeleeDamage
    • Label:
      trap melee damage
    How much damage this trap does on average per hit. Each trap hits multiple times.

    The actual damage in any instance will vary randomly.
    • Display Order:
      50
    • Def Name:
      Building
    • Label:
      Building
    • Display All By Default:
      false
    • Worker Class: StatWorker_MeleeDamageAmountTrap
    • Default Base Value: 1
    • Min Value: 1
    • To String Style: Integer
    • Show If Undefined: false
    - 5001

    Version history[edit]