Template:AfflictionDisplay
From Official Barotrauma Wiki
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
|
8 | 1 | |
5 | Weapon damage modifier
|
1.1 | 1 |
Template in use
Example 1
{{AfflictionDisplay|Burn|20}}
Burn (20)*
Example 2
{{AfflictionDisplay|Gunshot Wound|10|0.5|8|1.1}}
The above documentation is transcluded from Template:AfflictionDisplay/doc. (edit | history)