Difference between revisions of "Template:Affliction"

From Official Barotrauma Wiki
Jump to: navigation, search
m
m (20 revisions imported)
(No difference)

Revision as of 00:12, 13 November 2020

Template-info.png Documentation

Syntax

{{Affliction| Affliction name | Affliction strength change per second | idem but onFailure | strength instantly gained | idem but onFailure | Total affliction strength change | idem but onFailure | icon size override (default = 30) | linktext = <custom text> | showpersec = yes | icon = <custom icon> | talent = yes }}

Examples

{{Affliction|Internal Damage|2|4|||||60}}
gives: px Internal Damage (2 | 4)*


{{Affliction|Psychosis Resistance|||600|300}}
gives: Affliction Psychosis Resistance.png Psychosis Resistance (600 | 300)*


{{Affliction|Internal Damage|5||||50}}
gives: Affliction Internal Damage.png Internal Damage (5)* (per second change is in the tooltip on hover)


{{Affliction|Internal Damage||2.5||||25}}
gives: px Internal Damage (2.5)* (per second change is in the tooltip on hover)


{{Affliction|Internal Damage|-5||||-50|showpersec=yes}}
gives: -50px Internal Damage (-5)*


{{Affliction|Internal Damage|-5||||-50|showpersec=yes|linktext=Any Internal Damage}}
gives: -50px Internal Damage (-5)*
{{Affliction|talent=yes|Evasive Maneuvers}}
gives: 35px Evasive Maneuvers (for use with talent afflictions)