Difference between revisions of "User:Theaetetus/sandbox2"

From RimWorld Wiki
Jump to navigation Jump to search
Line 100: Line 100:
 
;TEST 4321
 
;TEST 4321
 
:{{#ifeq: {{#varexists: Attack4DPS}}|1|
 
:{{#ifeq: {{#varexists: Attack4DPS}}|1|
   {{#vardefine: MobAverageDPS = {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}} + {{#var: Attack4DPS}})/4 round 2}} }}4|
+
   {{#vardefine: MobAverageDPS = {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}} + {{#var: Attack4DPS}})/4 round 2}} }}dps4|
 
   {{#ifeq: {{#varexists: Attack3DPS}}|1|
 
   {{#ifeq: {{#varexists: Attack3DPS}}|1|
     {{#vardefine: MobAverageDPS = {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}})/3 round 2}} }}3|
+
     {{#vardefine: MobAverageDPS = {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}})/3 round 2}} }}dps3|
 
     {{#ifeq: {{#varexists: Attack2DPS}}|1|
 
     {{#ifeq: {{#varexists: Attack2DPS}}|1|
       {{#vardefine: MobAverageDPS = {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}})/2 round 2}} }}2|
+
       {{#vardefine: MobAverageDPS = {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}})/2 round 2}} }}dps2|
 
       {{#ifeq: {{#varexists: Attack1DPS}}|1|
 
       {{#ifeq: {{#varexists: Attack1DPS}}|1|
         {{#vardefine: MobAverageDPS = {{#var: Attack1DPS}} }}|dps0}} }} }} }}
+
         {{#vardefine: MobAverageDPS = {{#var: Attack1DPS}} }}dps1|dps0}} }} }} }}
 
{{#set: Mob Average DPS = {{#var: MobAverageDPS}} }}
 
{{#set: Mob Average DPS = {{#var: MobAverageDPS}} }}
  

Revision as of 23:12, 26 July 2016

Theaetetus


Type
[[{{{type}}}]]
TEST 4321
dps0
Attack1DPS
(0)
Attack2DPS
(0)
Attack3DPS
(0)
Attack4DPS
(0)
MobAverageDPS
(--)


Template:Theaetetus/doc