Difference between revisions of "User:Theaetetus/sandbox2"

From RimWorld Wiki
Jump to navigation Jump to search
Line 63: Line 63:
 
   {{#vardefine: Attack1DPS | {{#expr: {{{attack1dmg|}}} / ({{{attack1cool}}} / 60) }} }}
 
   {{#vardefine: Attack1DPS | {{#expr: {{{attack1dmg|}}} / ({{{attack1cool}}} / 60) }} }}
 
   {{#set: Attack 1 DPS = {{#var: Attack1DPS}} }}
 
   {{#set: Attack 1 DPS = {{#var: Attack1DPS}} }}
;TEST
 
:.{{#if: {{#var: Attack1DPS}} | TRUE {{#var: Attack1DPS}} | FALSE}}
 
;TEST
 
:.{{#if: {{#var: Attack2DPS}} | TRUE {{#var: Attack2DPS}} | FALSE}}
 
 
;Attack{{#if: {{{attack2dmg|}}}| 1}}
 
;Attack{{#if: {{{attack2dmg|}}}| 1}}
 
:{{{attack1part|Body part?}}}<br>{{{attack1dmg|?}}} dmg ({{{attack1type|type?}}})<br>{{ticks|{{{attack1cool|0}}}}} }}<!--
 
:{{{attack1part|Body part?}}}<br>{{{attack1dmg|?}}} dmg ({{{attack1type|type?}}})<br>{{ticks|{{{attack1cool|0}}}}} }}<!--
Line 76: Line 72:
 
   {{#set:Attack 2 Part = {{{attack2part|}}} }}
 
   {{#set:Attack 2 Part = {{{attack2part|}}} }}
 
   {{#set:Attack 2 Cooldown = {{{attack2cool|}}} }}
 
   {{#set:Attack 2 Cooldown = {{{attack2cool|}}} }}
 +
  {{#vardefine: Attack2DPS | {{#expr: {{{attack2dmg|}}} / ({{{attack2cool}}} / 60) }} }}
 +
  {{#set: Attack 2 DPS = {{#var: Attack2DPS}} }}
 
;Attack 2
 
;Attack 2
 
:{{{attack2part|Body part?}}}<br>{{{attack2dmg|?}}} dmg ({{{attack2type|type?}}})<br>{{ticks|{{{attack2cool|0}}}}} }}<!--
 
:{{{attack2part|Body part?}}}<br>{{{attack2dmg|?}}} dmg ({{{attack2type|type?}}})<br>{{ticks|{{{attack2cool|0}}}}} }}<!--
Line 85: Line 83:
 
   {{#set:Attack 3 Part = {{{attack3part|}}} }}
 
   {{#set:Attack 3 Part = {{{attack3part|}}} }}
 
   {{#set:Attack 3 Cooldown = {{{attack3cool|}}} }}
 
   {{#set:Attack 3 Cooldown = {{{attack3cool|}}} }}
 +
  {{#vardefine: Attack3DPS | {{#expr: {{{attack3dmg|}}} / ({{{attack3cool}}} / 60) }} }}
 +
  {{#set: Attack 3 DPS = {{#var: Attack3DPS}} }}
 
;Attack 3
 
;Attack 3
 
:{{{attack3part|Body part?}}}<br>{{{attack3dmg|?}}} dmg ({{{attack3type|type?}}})<br>{{ticks|{{{attack3cool|0}}}}} }}<!--
 
:{{{attack3part|Body part?}}}<br>{{{attack3dmg|?}}} dmg ({{{attack3type|type?}}})<br>{{ticks|{{{attack3cool|0}}}}} }}<!--
Line 94: Line 94:
 
   {{#set:Attack 4 Part = {{{attack4part|}}} }}
 
   {{#set:Attack 4 Part = {{{attack4part|}}} }}
 
   {{#set:Attack 4 Cooldown = {{{attack4cool|}}} }}
 
   {{#set:Attack 4 Cooldown = {{{attack4cool|}}} }}
 +
  {{#vardefine: Attack4DPS | {{#expr: {{{attack4dmg|}}} / ({{{attack4cool}}} / 60) }} }}
 +
  {{#set: Attack 4 DPS = {{#var: Attack4DPS}} }}
 
;Attack 4
 
;Attack 4
 
:{{{attack4part|Body part?}}}<br>{{{attack4dmg|?}}} dmg ({{{attack4type|type?}}})<br>{{ticks|{{{attack4cool|0}}}}} }}<!--
 
:{{{attack4part|Body part?}}}<br>{{{attack4dmg|?}}} dmg ({{{attack4type|type?}}})<br>{{ticks|{{{attack4cool|0}}}}} }}<!--
 
-->{{#if: {{{attack4stun|}}}|{{#set:Attack 4 Stun = {{{attack4stun|}}}}}<br>Stun for {{ticks|{{{attack4stun|0}}} }} }}
 
-->{{#if: {{{attack4stun|}}}|{{#set:Attack 4 Stun = {{{attack4stun|}}}}}<br>Stun for {{ticks|{{{attack4stun|0}}} }} }}
 +
 +
;Attack1DPS
 +
:{{#varexists: Attack1DPS}} ({{#var: Attack1DPS}})
 +
 +
;Attack2DPS
 +
:{{#varexists: Attack2DPS}} ({{#var: Attack2DPS}})
 +
 +
;Attack3DPS
 +
:{{#varexists: Attack3DPS}} ({{#var: Attack3DPS}})
 +
 +
;Attack4DPS
 +
:{{#varexists: Attack4DPS}} ({{#var: Attack4DPS}})
  
 
{{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }}
 
{{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }}

Revision as of 22:49, 26 July 2016

Theaetetus


Type
[[{{{type}}}]]
Attack1DPS
()
Attack2DPS
1 (0)
Attack3DPS
()
Attack4DPS
()


Template:Theaetetus/doc