Changes

Test Calc Math

31 bytes added, 01:19, 17 May 2015
no edit summary
{| cellpadding ="0" cellspacing="0" width="200"
|-
|''Tier: {{#urlget:tier|1}}'' {{#ifeq:{{{DPS}}}|No||<br />
{{!}}-
{{!}}DPS
{{!}} style="text-align: right;" {{!}}{{#ifeq:{{{Name}}}|Training Dummy|{{#expr:floor({{{A{{#urlget:tier|1}}}}}*{{#urlget:dp|100}})*((({{#urlget:ds|100}}/2)+500)/1000) round 0}} - {{#expr:floor({{{A{{#urlget:tier|1}}}}}*{{#urlget:dp|100}})*((({{#urlget:ds|100}}/2)+500)/1000)*2 round 0}}|{{#expr:{{#expr:{{{A{{#urlget:tier|1}}}}}*{{#urlget:dp|100}}}}/{{#expr:1/((1/{{{ISpeed}}})*(1+(({{#urlget:ds|100}}-250)/300))){{#ifeq:{{{Name}}}|Spike Blockade|-{{#expr:(1/((1/{{{ISpeed}}})*(1+(({{#urlget:ds|100}}-250)/300))))*0.05*({{#urlget:tier|1}}-1)}}}}}}{{#if:{{{Projectiles|}}}|*{{{Projectiles}}}}} round 0 }}}} }} {{#if:{{{Health|}}}|<br />
{{!}}-
{{!}}Max Health
{{!}} style="text-align: right;" {{!}}{{#ifeq:{{{Type}}}|Aura|{{{H{{#urlget:tier|1}}}}}|{{#ifeq:{{{Type}}}|Trap|{{#expr:floor(({{#urlget:dh|100}}*{{#ifeq:{{{Name}}}|Explosive Trap|.15+10|{{#ifeq:{{{Name}}}|Geyser Trap|.1+5|.1+2}}}})*(1+(({{#urlget:tier|1}}-1)/10)))}}|{{#expr:floor({{{H{{#urlget:tier|1}}}}}*{{#urlget:dh|100}})}}}}}} }} {{#if:{{{Attack|}}}|<br />
{{!}}-
{{!}}ATK DMG
{{!}} style="text-align: right;" {{!}}{{#expr:floor({{{A{{#urlget:tier|1}}}}}*{{#urlget:dp|100}})}} }} {{#if:{{{Range|}}}|<br />
{{!}}-
{{!}}ATK Range
{{!}} style="text-align: right;" {{!}}{{#expr:{{{R{{#urlget:tier|1}}}}}*100}} }} {{#ifeq:{{{ISpeed}}}|N/A||<br />
{{!}}-
{{!}}ATK Rate
{{!}} style="text-align: right;" {{!}}{{#expr:1/((1/{{{ISpeed}}})*(1+(({{#urlget:ds|100}}-250)/300))){{#ifeq:{{{Name}}}|Spike Blockade|-{{#expr:(1/((1/{{{ISpeed}}})*(1+(({{#urlget:ds|100}}-250)/300))))*0.05*({{#urlget:tier|1}}-1)}}}} round 2}} }}{{#if:{{{Dot|}}}|<br />
{{!}}-
{{!}}DoT DMG
789
edits