Template:TotalDamage: Difference between revisions
From Official Barotrauma Wiki
m (G3jzer moved page Template:AmmoBoxDamage to Template:TotalDamage) |
No edit summary |
||
Line 3: | Line 3: | ||
| where = Items.name LIKE "{{{1|{{PAGENAME}}}}}" | | where = Items.name LIKE "{{{1|{{PAGENAME}}}}}" | ||
| format = template | | format = template | ||
| template = {{ | | template = TotalDamage/sub{{!}}weapondamagemodifier = {{{weapondamagemodifier|}}} | ||
| named args = yes | | named args = yes | ||
}}</includeonly> | }}</includeonly> |
Revision as of 18:24, 11 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}}
Damage per round
{{TotalDamage|Exploding Ammunition Box|round}}
Bleeding per round
{{TotalDamage|Exploding Ammunition Box|round|type=bleeding}}
Stun per round
{{TotalDamage|Exploding Ammunition Box|round|type=stun}}
All affliction types per round
{{TotalDamage|Exploding Ammunition Box|round|type=all}}
The above documentation is transcluded from Template:TotalDamage/doc. (edit | history)