Template:Damage multipliers/immunity: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(add default value 0 to parser function)
No edit summary
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#ifexpr: ( {{{stunimmunity|0}}} + {{{burnimmunity|0}}} + {{{bleedingimmunity|0}}} + {{{poisonimmunity|0}}} ) > 0|In addition to the values in the following table, the {{PAGENAME}} is also immune to:{{#ifeq:{{{stunimmunity}}}|1| 
<includeonly>{{#if:{{{stunimmunity|}}}{{{burnimmunity|}}}{{{bleedingimmunity|}}}{{{poisonimmunity|}}}|In addition to the values in the following table, the {{PAGENAME}} is also immune to:{{#ifeq:{{{stunimmunity}}}|1|&nbsp;
* {{hl|Stun|20}}|}}{{#ifeq:{{{burnimmunity}}}|1|&nbsp;
* {{hl|Stun|20}}|}}{{#ifeq:{{{burnimmunity}}}|1|&nbsp;
* {{hl|Burn|20}}|}}{{#ifeq:{{{bleedingimmunity}}}|1|&nbsp;
* {{hl|Burn|20}}|}}{{#ifeq:{{{bleedingimmunity}}}|1|&nbsp;
* {{hl|Bleeding|20}}|}}{{#ifeq:{{{poisonimmunity}}}|1|&nbsp;
* {{hl|Bleeding|20}}|}}{{#ifeq:{{{poisonimmunity}}}|0|&nbsp;
* [[file:Affliction Cyanide Poisoning.png|20px|link=Poisons]] [[Poisons]] (Affliction type)|}}|}}
* [[file:Affliction Cyanide Poisoning.png|20px|link=Poisons]] [[Poisons]] (Affliction type)|}}|}}</includeonly><noinclude>This is a sub-template of [[Template:Damage multipliers]] and is not meant for direct usage.</noinclude>

Latest revision as of 14:29, 2 February 2023

This is a sub-template of Template:Damage multipliers and is not meant for direct usage.