Difference between revisions of "User:Theaetetus/sandbox2"

From RimWorld Wiki
Jump to navigation Jump to search
Line 104: Line 104:
 
     {{#ifeq: {{#varexists: Attack2DPS}}|1|
 
     {{#ifeq: {{#varexists: Attack2DPS}}|1|
 
       {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}})/2 round 2}} }}|
 
       {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}})/2 round 2}} }}|
       {{#vardefine: MobAverageDPS | {{#var: Attack1DPS}} }} }} }} }}
+
       {{#ifeq: {{#varexists: Attack1DPS}}|1|
{{#set: Mob Average DPS = {{#var: MobAverageDPS}} }}
+
        {{#vardefine: MobAverageDPS | {{#var: Attack1DPS}} }} }} }} }} }}
  
 
{{#ifeq: {{#varexists: MobAverageDPS}}|1|
 
{{#ifeq: {{#varexists: MobAverageDPS}}|1|
 +
{{#set: Mob Average DPS = {{#var: MobAverageDPS}} }}
 
;Average DPS
 
;Average DPS
:{{#var: MobAverageDPS}}111}}
+
:{{#var: MobAverageDPS}}}}
  
 
{{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }}
 
{{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }}

Revision as of 02:36, 27 July 2016

Theaetetus


Type
[[{{{type}}}]]


Template:Theaetetus/doc