Template:Items Infobox/Affliction: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#if:{{{2|}}}{{{3|}}}|<br>{{#ifeq:{{#count:{{{2}}}|*}}|0|{{Affliction|{{{1}}}<!--
{{#if:{{{2|}}}{{{3|}}}|<br>{{#ifeq:{{#count:{{{2}}}|*}}|0|{{Affliction|{{{1}}}<!--
-->|{{#if:{{{6|}}}|{{#expr:{{{2}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{6|}}}|y|n}}|{{#if:{{{2|}}}|y|nn}}|{{#expr:{{{2}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#if:{{{7|}}}|{{#expr:{{{3}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{7|}}}|y|n}}|{{#if:{{{3|}}}|y|nn}}|{{#expr:{{{3}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#if:{{{6|}}}||{{#expr:{{{2}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{6|}}}|n|y}}|{{#if:{{{2|}}}|y|nn}}|{{#expr:{{{2}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#if:{{{7|}}}||{{#expr:{{{3}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{7|}}}|n|y}}|{{#if:{{{3|}}}|y|nn}}|{{#expr:{{{3}}}*{{{4|1}}}*{{{5|1}}}}}}}<!--
-->|{{#if:{{{6|}}}|{{#expr:{{{2}}}*{{{4|1}}}*{{{5|1}}}*{{{6}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{6|}}}|y|n}}|{{#if:{{{2|}}}|y|nn}}|{{#expr:{{{2}}}*{{{4|1}}}*{{{5|1}}}*{{{6}}}}}}}<!--
-->|{{#if:{{{7|}}}|{{#expr:{{{3}}}*{{{4|1}}}*{{{5|1}}}*{{{7}}}}}}}<!--
-->|{{#ifeq:{{#if:{{{7|}}}|y|n}}|{{#if:{{{3|}}}|y|nn}}|{{#expr:{{{3}}}*{{{4|1}}}*{{{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>}}}}
-->|[[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>}}}}

Revision as of 15:00, 19 October 2022