Difference between revisions of "User:Theaetetus/sandbox2"

From RimWorld Wiki
Jump to navigation Jump to search
(Reverting to Infobox Main current)
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|
 
;Average DPS
 
;Average DPS
:{{#var: MobAverageDPS}}}}
+
:{{#var: MobAverageDPS}}
 +
{{#set: Mob Average DPS = {{#var: MobAverageDPS}} }} }}
  
 
{{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }}
 
{{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }}

Revision as of 03:13, 27 July 2016

Theaetetus


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


Template:Theaetetus/doc