Difference between revisions of "Template:Weapon Iterated DPS Chart Segment"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "{{#vardefine: currentRange | {{{1|}}} }} {{#ifexpr: {{#var:currentRange}} > 3 | {{#vardefine: lowerRangeBracket | 3 }} {{#vardefine: lowerRangeBracketAccuracy | {{#expr:{{Q...")
 
Line 1: Line 1:
 
{{#vardefine: currentRange |  {{{1|}}} }}
 
{{#vardefine: currentRange |  {{{1|}}} }}
 
 
{{#ifexpr: {{#var:currentRange}} > 3 |
 
{{#ifexpr: {{#var:currentRange}} > 3 |
 
{{#vardefine: lowerRangeBracket |  3 }}
 
{{#vardefine: lowerRangeBracket |  3 }}
Line 37: Line 36:
 
{{#vardefine: upperRangeBracket |  40 }}
 
{{#vardefine: upperRangeBracket |  40 }}
 
}}
 
}}
 
 
{{#vardefine: XAxisString | {{#var: XAxisString}}, {{#var:currentRange}}}}
 
{{#vardefine: XAxisString | {{#var: XAxisString}}, {{#var:currentRange}}}}
 
{{#vardefine: YAxisString | {{#var: YAxisString}}, {{#expr: {{#var: skillFactor}}^{{#var:currentRange}} * (({{#var:upperRangeBracket}}-{{#var:currentRange}})*{{#var: lowerRangeBracketAccuracy}} + ({{#var:currentRange}}-{{#var:lowerRangeBracket}})*{{#var: upperRangeBracketAccuracy}})*{{#var:DPS}}/({{#var:upperRangeBracket}}-{{#var:lowerRangeBracket}}) }}  }}
 
{{#vardefine: YAxisString | {{#var: YAxisString}}, {{#expr: {{#var: skillFactor}}^{{#var:currentRange}} * (({{#var:upperRangeBracket}}-{{#var:currentRange}})*{{#var: lowerRangeBracketAccuracy}} + ({{#var:currentRange}}-{{#var:lowerRangeBracket}})*{{#var: upperRangeBracketAccuracy}})*{{#var:DPS}}/({{#var:upperRangeBracket}}-{{#var:lowerRangeBracket}}) }}  }}

Revision as of 11:20, 6 February 2021

Expression error: Unexpected > operator. Expression error: Unexpected = operator. Expression error: Unexpected > operator. Expression error: Unexpected = operator. Expression error: Unexpected > operator. Expression error: Unexpected = operator.