Difference between revisions of "Template:True Melee DPS Calculator"

From RimWorld Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
{{#vardefine:qualityFactor | 1.00}}
 
{{#vardefine:qualityFactor | 1.00}}
  
 
+
{{#vardefine:name | Longsword }}
 +
{{#vardefine:qualityFactor | 1.10}}
 +
{{#vardefine:material | plasteel}}
  
 
{{#switch: {{Q|{{#var: name}}|Attack 1 Type}}
 
{{#switch: {{Q|{{#var: name}}|Attack 1 Type}}
Line 112: Line 114:
 
}}
 
}}
  
{{#vardefine: attack1InitialSelectionWeight | {{#expr: {{#var:attack1Damage}} * (1 + {{#var:attack1AP}}) * {{Q|{{#var: name}}|Attack 1 Chance Factor|1}} / ({{Q|{{#var: name}}|Attack 1 Cooldown}}) round 1}} }}
+
{{#vardefine: attack1InitialSelectionWeight | {{#expr: {{#var:attack1Damage}} * (1 + {{#var:attack1AP}}) * {{Q|{{#var: name}}|Attack 1 Chance Factor|1}} / ({{Q|{{#var: name}}|Attack 1 Cooldown}}*{{Q|{{#var: material}}|Melee Cooldown Factor|1}}) round 1}} }}
{{#vardefine: attack2InitialSelectionWeight | {{#expr: {{#var:attack2Damage}} * (1 + {{#var:attack2AP}}) * {{Q|{{#var: name}}|Attack 2 Chance Factor|1}} / ({{Q|{{#var: name}}|Attack 2 Cooldown}}) round 1}} }}
+
{{#vardefine: attack2InitialSelectionWeight | {{#expr: {{#var:attack2Damage}} * (1 + {{#var:attack2AP}}) * {{Q|{{#var: name}}|Attack 2 Chance Factor|1}} / ({{Q|{{#var: name}}|Attack 2 Cooldown}}*{{Q|{{#var: material}}|Melee Cooldown Factor|1}}) round 1}} }}
{{#vardefine: attack3InitialSelectionWeight | {{#expr: {{#var:attack3Damage}} * (1 + {{#var:attack3AP}}) * {{Q|{{#var: name}}|Attack 3 Chance Factor|1}} / ({{Q|{{#var: name}}|Attack 3 Cooldown}}) round 1}} }}
+
{{#vardefine: attack3InitialSelectionWeight | {{#expr: {{#var:attack3Damage}} * (1 + {{#var:attack3AP}}) * {{Q|{{#var: name}}|Attack 3 Chance Factor|1}} / ({{Q|{{#var: name}}|Attack 3 Cooldown}}*{{Q|{{#var: material}}|Melee Cooldown Factor|1}}) round 1}} }}
{{#vardefine: attack4InitialSelectionWeight | {{#expr: {{#var:attack4Damage}} * (1 + {{#var:attack4AP}}) * {{Q|{{#var: name}}|Attack 4 Chance Factor|1}} / ({{Q|{{#var: name}}|Attack 4 Cooldown}}) round 1}} }}
+
{{#vardefine: attack4InitialSelectionWeight | {{#expr: {{#var:attack4Damage}} * (1 + {{#var:attack4AP}}) * {{Q|{{#var: name}}|Attack 4 Chance Factor|1}} / ({{Q|{{#var: name}}|Attack 4 Cooldown}}*{{Q|{{#var: material}}|Melee Cooldown Factor|1}}) round 1}} }}
  
  

Revision as of 00:28, 18 September 2021











Unrecognised Damage Type:




6.3

18.9

18.9

Expression error: Unexpected * operator.


Expression error: Unexpected < operator.



Handle = Mid mid

Point = Best best

Blade = Best best

= Expression error: Unexpected < operator.  



True DPS =

(9/2 * (0.25/1))+

(23/2.6 * (0.75/2))+

(23/2.6 * (0.75/2)) +

(/ * 0)