Template:BTD6 effect: Difference between revisions

added generic damage modifier
m it can be negative
 
(4 intermediate revisions by the same user not shown)
Line 59: Line 59:
|73=<abbr class="explain" title="Cannot damage Lead, Purple or Glass">Energy</abbr>
|73=<abbr class="explain" title="Cannot damage Lead, Purple or Glass">Energy</abbr>
|???}}}}</td></tr>}}<!--
|???}}}}</td></tr>}}<!--
-->{{#if:{{{removeImmunity|}}}{{{removeImmunity after|}}}|<tr><th>Removes immunity</th><td>{{{removeImmunity|0}}} {{#if:{{{removeImmunity after|}}}|→ {{{removeImmunity after|}}}}}</td></tr>}}<!--


MULTIPLIERS
MULTIPLIERS
Line 93: Line 94:
-->{{#if:{{{cooldown|}}}{{{cooldown after|}}}|<tr><th>Cooldown</th><td>{{{cooldown|0}}}s {{#if:{{{cooldown after|}}}|→ {{{cooldown after|}}}s}}</td></tr>}}<!--
-->{{#if:{{{cooldown|}}}{{{cooldown after|}}}|<tr><th>Cooldown</th><td>{{{cooldown|0}}}s {{#if:{{{cooldown after|}}}|→ {{{cooldown after|}}}s}}</td></tr>}}<!--
-->{{#ifexpr:{{{chance|0}}}>0 or {{{chance after|0}}}>0|<tr><th>Chance</th><td>{{#expr:{{{chance|0}}}*100}}% {{#if:{{{chance after|}}}|→ {{#expr:{{{chance after|}}}*100}}%}}</td></tr>}}<!--
-->{{#ifexpr:{{{chance|0}}}>0 or {{{chance after|0}}}>0|<tr><th>Chance</th><td>{{#expr:{{{chance|0}}}*100}}% {{#if:{{{chance after|}}}|→ {{#expr:{{{chance after|}}}*100}}%}}</td></tr>}}<!--
-->{{#ifexpr:{{{pierceCost|0}}} <> 0 or {{{pierceCost after|0}}} <> 0|<tr><th>[[Pierce]] consumption</th><td>{{{pierceCost|0}}} {{#if:{{{pierceCost after|}}}|→ {{{pierceCost after|}}}}}</td></tr>}}<!--
-->{{#if:{{{distanceMin|}}}{{{distanceMin after|}}}|<tr><th>Min distance</th><td>{{{distanceMin|0}}} units {{#if:{{{distanceMin after|}}}|→ {{{distanceMin after|}}}s}}</td></tr>}}<!--
-->{{#if:{{{distanceMin|}}}{{{distanceMin after|}}}|<tr><th>Min distance</th><td>{{{distanceMin|0}}} units {{#if:{{{distanceMin after|}}}|→ {{{distanceMin after|}}}s}}</td></tr>}}<!--
-->{{#if:{{{distanceMax|}}}{{{distanceMax after|}}}|<tr><th>Max distance</th><td>{{{distanceMax|0}}} units {{#if:{{{distanceMax after|}}}|→ {{{distanceMax after|}}}s}}</td></tr>}}<!--
-->{{#if:{{{distanceMax|}}}{{{distanceMax after|}}}|<tr><th>Max distance</th><td>{{{distanceMax|0}}} units {{#if:{{{distanceMax after|}}}|→ {{{distanceMax after|}}}s}}</td></tr>}}<!--