Template:Items Infobox/Affliction: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{2|}}}{{{3|}}}|<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}}}<!--
-->|{{#if:{{{6|}}}|{{#expr:{{{2}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{6}}}|y|n}}|{{#if:{{{2}}}|y|nn}}|{{#expr:{{{2}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}}}}}<!--
-->|{{#if:{{{7|}}}|{{#expr:{{{3}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{7}}}|y|n}}|{{#if:{{{3}}}|y|nn}}|{{#expr:{{{3}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}}}}}<!--
-->|{{#if:{{{6|}}}||{{#expr:{{{2}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{6}}}|n|y}}|{{#if:{{{2}}}|y|nn}}|{{#expr:{{{2}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}}}}}<!--
-->|{{#if:{{{7|}}}||{{#expr:{{{3}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{7}}}|n|y}}|{{#if:{{{3}}}|y|nn}}|{{#expr:{{{3}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}}}}}<!--
-->|{{#if:{{{6|}}}|{{#expr:{{{2}}}*{{{4|1}}}*{{{5|1}}}*{{{6}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{6}}}|y|n}}|{{#if:{{{2}}}|y|nn}}|{{#expr:{{{2}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}*{{{6}}}}}}}<!--
-->|{{#if:{{{7|}}}|{{#expr:{{{3}}}*{{{4|1}}}*{{{5|1}}}*{{{7}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{7}}}|y|n}}|{{#if:{{{3}}}|y|nn}}|{{#expr:{{{3}}}*{{#if:{{{4}}}|{{{4}}}|1}}*{{#if:{{{5}}}|{{{5}}}|1}}*{{{7}}}}}}}<!--
-->|32}}{{#if:{{{8|}}}|&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="{{#if:{{{8|}}}|Chance to block completely {{!}}&nbsp;}}% strength resisted">'''({{#if:{{{8|}}}|{{#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)