Template:AfflictionDisplay

From Official Barotrauma Wiki
Jump to: navigation, search
Documentation

Template for displaying afflictions in other templates. Template:WeaponsTable, Template:CargoDamage, Template:SubmarineWeaponsTable, Template:ExplosivesTable.

Instructions

Field Note Example Expected Default
1 Affliction name Lacerations
2 Affliction strength 20
3 Affliction chance 0.5
4 Projectiles
  • Not shown if = 1.
8 1
5 Weapon damage modifier
  • Not shown if = 1.
1.1 1

Template in use

Example 1

{{AfflictionDisplay|Burn|20}}
Burn (20)*


Example 2

{{AfflictionDisplay|Gunshot Wound|10|0.5|8|1.1}}
Gunshot Wound (88)* (50% chance)
(8 projectiles x 10 x 1.1 weapon damage modifier)