Template:Damage multipliers/immunity: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
No edit summary
Line 1: Line 1:
{{#ifexpr: ( {{#if:{{{stunimmunity|}}}|{{{stunimmunity}}}|0}} + {{#if:{{{burnimmunity|}}}|{{{burnimmunity}}}|0}} +{{#if:{{{bleedingimmunity|}}}|{{{bleedingimmunity}}}|0}} + {{#if:{{{poisonimmunity|}}}|{{{poisonimmunity}}}|0}} ) > 0|In addition to the values in the following table, the {{PAGENAME}} is also immune to:{{#ifeq:{{{stunimmunity}}}|1| 
<includeonly>{{#ifexpr: ( {{#if:{{{stunimmunity|}}}|{{{stunimmunity}}}|0}} + {{#if:{{{burnimmunity|}}}|{{{burnimmunity}}}|0}} +{{#if:{{{bleedingimmunity|}}}|{{{bleedingimmunity}}}|0}} + {{#if:{{{poisonimmunity|}}}|{{{poisonimmunity}}}|0}} ) > 0|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}}}|1|&nbsp;
* [[file:Affliction Cyanide Poisoning.png|20px|link=Poisons]] [[Poisons]] (Affliction type)|}}|}}<br>
* [[file:Affliction Cyanide Poisoning.png|20px|link=Poisons]] [[Poisons]] (Affliction type)|}}|}}<br></includeonly><noinclude>This is a sub-template of [[Template:Damage modifiers]] and is not meant for direct usage.</noinclude>

Revision as of 21:32, 22 May 2022

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