Trap Melee Damage

From RimWorld Wiki
Revision as of 23:35, 24 September 2024 by JuliaCat (talk | contribs) (Trap Melee Damage Stat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

  • Trap Trap Melee Damage Base
    Spike trap Spike trap 100
  • Explanation

    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

    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