Difference between revisions of "Template:Ranged Maximum DPS"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "{{#expr:{{Q|{{{name}}}|Maximum {{#if:{{{bandolier|}}}|Bandolier|}}{{#if:{{{triggerhappy|}}}|Triggerhappy|}} DPS|0}}*{{Apparel AP Calculation|armor1={{{armor|0}}}|ap={{#expr:{{...")
 
Line 1: Line 1:
{{#expr:{{Q|{{{name}}}|Maximum {{#if:{{{bandolier|}}}|Bandolier|}}{{#if:{{{triggerhappy|}}}|Triggerhappy|}} DPS|0}}*{{Apparel AP Calculation|armor1={{{armor|0}}}|ap={{#expr:{{Q|{{{name}}}|Armor Penetration|0}}*{{{damageFactor|1}}}}}}}/100*{{{damageFactor|1}}}}}
+
{{#expr:{{Q|{{{name}}}|Maximum {{#if:{{{bandolier|}}}|Bandolier|}}{{#if:{{{triggerhappy|}}}|Triggerhappy|}} DPS|0}}*{{Apparel AP Calculation|armor1={{{armor|0}}}|ap={{#expr:{{Q|{{{name}}}|Armor Penetration|0}}*{{{damageFactor|1}}}}}}}/100*{{{damageFactor|1}}}}}<!--
 +
-->{{#vardefine:dpsTouch|{{#expr:{{#var:dps}}*{{Min|{{#expr:{{Q|{{{name}}}|Accuracy (Touch) Base|0}}*{{{accuracyFactor|1}}}/100}}|1}}}}}}<!--
 +
-->{{#vardefine:dpsShort|{{#expr:{{#var:dps}}*{{Min|{{#expr:{{Q|{{{name}}}|Accuracy (Short) Base|0}}*{{{accuracyFactor|1}}}/100}}|1}}}}}}<!--
 +
-->{{#vardefine:dpsMedium|{{#expr:{{#var:dps}}*{{Min|{{#expr:{{Q|{{{name}}}|Accuracy (Medium) Base|0}}*{{{accuracyFactor|1}}}/100}}|1}}}}}}<!--
 +
-->{{#vardefine:dpsLong|{{#expr:{{#var:dps}}*{{Min|{{#expr:{{Q|{{{name}}}|Accuracy (Long) Base|0}}*{{{accuracyFactor|1}}}/100}}|1}}}}}}

Revision as of 14:48, 25 December 2024

0