Template:Items Infobox/Affliction: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Created page with "{{#ifeq:{{{2}}}{{{3}}}|00||<br>{{#ifeq:{{#count:{{{2}}}|*}}|0|{{Affliction|{{{1}}}<!-- -->|{{#ifeq:{{{6}}}|0||{{#expr:{{{2}}}*{{{4}}}*{{{5}}}}}}}<!-- -->|{{#ifeq:{{{7}}}|0||{{...")
 
mNo edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{2}}}{{{3}}}|00||<br>{{#ifeq:{{#count:{{{2}}}|*}}|0|{{Affliction|{{{1}}}<!--
{{#if:{{{2}}}{{{3}}}|<br>{{#if:{{{9|}}}|{{#ifeq:{{{1}}}|Barotrauma (Affliction)|[[File:Affliction Barotrauma.png|32px|link={{{1}}}]]|[[File:{{{1}}}.png|32px|link={{{1}}}]]}}&nbsp;[[{{{1}}}]]&nbsp;<span style="cursor:help;color:#00b5c9" title="{{#if:{{{8|}}}|Chance to block completely {{!}}&nbsp;}}% strength resisted">'''({{#if:{{{8}}}|{{#expr:100*{{{8}}}}} {{!}}&nbsp;}}{{#expr:100*(1-{{#replace:{{{2}}}|*}})}}%)*'''</span>|{{Affliction|{{{1}}}<!--
-->|{{#ifeq:{{{6}}}|0||{{#expr:{{{2}}}*{{{4}}}*{{{5}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{6}}}|y|n}}|{{#if:{{{2}}}|y|nn}}|{{#expr:{{{2}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}}}}}<!--
-->|{{#ifeq:{{{7}}}|0||{{#expr:{{{3}}}*{{{4}}}*{{{5}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{7}}}|y|n}}|{{#if:{{{3}}}|y|nn}}|{{#expr:{{{3}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}}}}}<!--
-->|{{#ifeq:{{{6}}}|0|{{#ifeq:{{{2}}}|0||{{#expr:{{{2}}}*{{{4}}}*{{{5}}}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{6}}}|n|y}}|{{#if:{{{2}}}|y|nn}}|{{#expr:{{{2}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}}}}}<!--
-->|{{#ifeq:{{{7}}}|0|{{#ifeq:{{{3}}}|0||{{#expr:{{{3}}}*{{{4}}}*{{{5}}}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{7}}}|n|y}}|{{#if:{{{3}}}|y|nn}}|{{#expr:{{{3}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}}}}}<!--
-->|{{#ifeq:{{{6}}}|0||{{#expr:{{{2}}}*{{{4}}}*{{{5}}}*{{{6}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{6}}}|y|n}}|{{#if:{{{2}}}|y|nn}}|{{#expr:{{{2}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}*{{{6}}}}}}}<!--
-->|{{#ifeq:{{{7}}}|0||{{#expr:{{{3}}}*{{{4}}}*{{{5}}}*{{{7}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{7}}}|y|n}}|{{#if:{{{3}}}|y|nn}}|{{#expr:{{{3}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}*{{{7}}}}}}}<!--
-->|32}}{{#ifeq:{{{8}}}|0||&nbsp;({{#expr:{{{8}}}*100)}}% chance)}}<!--
-->|32}}{{#if:{{{8}}}|&nbsp;({{#expr:{{{8}}}*100)}}% chance)}}}}}}
-->|[[File:{{{1}}}.png|32px|link={{{1}}}]]&nbsp;[[{{{1}}}]]&nbsp;<span style="cursor:help;color:#00b5c9" title="{{#ifeq:{{{8}}}|0||Chance to block completely {{!}}&nbsp;}}% strength resisted">'''({{#ifeq:{{{8}}}|0||{{#expr:100*{{{8}}}}} {{!}}&nbsp;}}{{#expr:100*(1-{{#replace:{{{2}}}|*}})}}%)*'''</span>}}}}

Latest revision as of 22:35, 11 January 2023


[[File:Affliction_{{{1}}}.png|32px|link={{{1}}}]] [[{{{1}}}|{{{1}}}]] <span style="cursor:help;color:#00b5c9;" title="Total affliction strength change if successful (Expression error: Unrecognized punctuation character "{"./s for Expression error: Unexpected < operator.s)">(Expression error: Unrecognized punctuation character "{". |<span style="color:#ba3200;cursor:help;" title="Total affliction strength change if failed (Expression error: Unrecognized punctuation character "{"./s for Expression error: Unexpected < operator.s)"> Expression error: Unrecognized punctuation character "{".)* (Expression error: Unrecognized punctuation character "{".% chance)