Difference between revisions of "Template:Apparel AP Calculation"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#vardefine: effectiveArmor |{{#expr: {{{1|armor}}} - {{{2|ap}}}}}}}<!--
 
{{#vardefine: effectiveArmor |{{#expr: {{{1|armor}}} - {{{2|ap}}}}}}}<!--
  
-->{{#vardefine: effectiveArmor | 150 }} <!--
+
--><!--
  
 
-->{{#ifexpr: {{#var: effectiveArmor}} < 0| {{#vardefine: effectiveArmor | 0 }} }}<!--
 
-->{{#ifexpr: {{#var: effectiveArmor}} < 0| {{#vardefine: effectiveArmor | 0 }} }}<!--

Revision as of 05:23, 22 March 2021

Expression error: Unexpected < operator.Expression error: Unexpected < operator.