Template:TotalDamage/doc: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{doc/start}}{{main|Boilerplate:Gear}} | {{doc/start}}{{main|Boilerplate:Gear}} | ||
Template calculating total value of choosen afflictions in a magazine or a single round. | |||
By default it calculates total damage afflictions in a mag. | |||
__TOC__ | __TOC__ |
Latest revision as of 02:05, 12 May 2023
Main article: Boilerplate:Gear
Template calculating total value of choosen afflictions in a magazine or a single round.
By default it calculates total damage afflictions in a mag.
Instructions
Field | Note | Example | Default |
---|---|---|---|
1 | Name of the item | Exploding Ammunition box | |
2 | Calculates damage per round if defined as "round" | round | |
type | Used to choose the type of afflictions:
|
stun | damage |
Sub Templates
Template in use
Total damage
{{TotalDamage|Exploding Ammunition Box}}
4000
Damage per round
{{TotalDamage|Exploding Ammunition Box|round}}
40
Bleeding per round
{{TotalDamage|Exploding Ammunition Box|round|type=bleeding}}
1
Stun per round
{{TotalDamage|Exploding Ammunition Box|round|type=stun}}
0.025
All affliction types per round
{{TotalDamage|Exploding Ammunition Box|round|type=all}}
40,0.025,1
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.