Template:Damage multipliers/immunity: Difference between revisions
From Official Barotrauma Wiki
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| | ||
* {{hl|Stun|20}}|}}{{#ifeq:{{{burnimmunity}}}|1| | * {{hl|Stun|20}}|}}{{#ifeq:{{{burnimmunity}}}|1| | ||
* {{hl|Burn|20}}|}}{{#ifeq:{{{bleedingimmunity}}}|1| | * {{hl|Burn|20}}|}}{{#ifeq:{{{bleedingimmunity}}}|1| | ||
* {{hl|Bleeding|20}}|}}{{#ifeq:{{{poisonimmunity}}}|1| | * {{hl|Bleeding|20}}|}}{{#ifeq:{{{poisonimmunity}}}|1| | ||
* [[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.